Inferring semantic label(s) for assistant device(s) based on device-specific signal(s)

ABSTRACT

Implementations can identify a given assistant device from among a plurality of assistant devices in an ecosystem, obtain device-specific signal(s) that are generated by the given assistant device, process the device-specific signal(s) to generate candidate semantic label(s) for the given assistant device, select a given semantic label for the given semantic device from among the candidate semantic label(s), and assigning, in a device topology representation of the ecosystem, the given semantic label to the given assistant device. Implementations can optionally receive a spoken utterance that includes a query or command at the assistant device(s), determine a semantic property of the query or command matches the given semantic label to the given assistant device, and cause the given assistant device to satisfy the query or command.

BACKGROUND

Humans can engage in human-to-computer dialogs with interactive softwareapplications referred to herein as “automated assistants” (also referredto as “chat bots,” “interactive personal assistants,” “intelligentpersonal assistants,” “personal voice assistants,” “conversationalagents,” etc.). For example, a human (which when interacting with anautomated assistant may be referred to as a “user”) may provide an input(e.g., commands, queries, and/or requests) to the automated assistantthat can cause the automated assistant to generate and provideresponsive output, to control one or more Internet of things (IoT)devices, and/or to perform one or more other functionalities. The inputprovided by the user can be, for example, spoken natural language input(i.e., spoken utterances) which may in some cases be converted into text(or other semantic representation) and then further processed, and/ortyped natural language input.

In some cases, automated assistants may include automated assistantclients that are executed locally by assistant devices and that areengaged directly by users, as well as cloud-based counterpart(s) thatleverage the virtually limitless resources of the cloud to helpautomated assistant clients respond to users' inputs. For example, anautomated assistant client can provide, to the cloud-basedcounterpart(s), an audio recording of a spoken utterance of a user (or atext conversion thereof), and optionally data indicative of the user'sidentity (e.g., credentials). The cloud-based counterpart may performvarious processing on the query to return result(s) to the automatedassistant client, which may then provide corresponding output to theuser.

Many users may engage automated assistants using multiple assistantdevices. For example, some users may possess a coordinated “ecosystem”of assistant devices that can receive user input directed to theautomated assistant and/or can be controlled by the automated assistant,such as one or more smart phones, one or more tablet computers, one ormore vehicle computing systems, one or more wearable computing devices,one or more smart televisions, one or more interactive standalonespeakers, and/or one or more IoT devices, among other assistant devices.A user may engage in human-to-computer dialog with an automatedassistant using any of these assistant devices (assuming an automatedassistant client is installed and the assistant device is capable ofreceiving input). In some cases these assistant devices may be scatteredaround the user's primary residence, secondary residence, workplace,and/or other structure. For example, mobile assistant devices such assmart phones, tablets, smart watches, etc., may be on the user's personand/or wherever the user last placed them. Other assistant devices, suchas traditional desktop computers, smart televisions, interactivestandalone speakers, and IoT devices may be more stationary butnonetheless may be located at various places (e.g., rooms) within theuser's home or workplace.

Techniques exist to enable user(s) (e.g., a single user, multiple usersin a family, co-workers, co-inhabitants, etc.) to manually assign labelsto assistant devices in an ecosystem of assistant devices, and tosubsequently utilize an automated assistant client of any one of theassistant devices to interact with or control any one of the assistantdevices. For example, a user can issue a spoken command of “show me somerecipes for chili on the kitchen device” to an automated assistantclient of an assistant device to cause the assistant device (or anotherassistant device in the ecosystem) to retrieve search results for chilirecipes and present the search results to the user via the kitchendevice. However, such techniques require that a user specify aparticular assistant device by a previously assigned label (e.g., “thekitchen device”) that the user(s) may have forgotten, or require theautomated assistant to guess a “best” device to provide the searchresults (e.g., a device closest to the user). Further, if the particularassistant device is newly introduced to the ecosystem or moved withinthe ecosystem, the label assigned to the particular assistant device bythe user(s) may not be representative of the particular assistantdevice.

SUMMARY

Implementations described herein relate to assigning semantic labels torespective assistant devices in a device topology representation of anecosystem that includes a plurality of assistant devices. The semanticlabels that are assigned to the respective assistant devices can beinferred based on one or more device-specific signals that areassociated with the respective assistant devices. The one or moredevice-specific signals can include, for example, one or more queriespreviously received at the respective assistant devices (if any), one ormore commands previously executed at the respective assistant devices(if any), instances of ambient noise previously detected at therespective assistant devices (and optionally only when speech receptionwas active at the respective assistant devices), unique identifier(s)(or label(s)) for any other assistant device(s) that are locationallyproximate to the respective assistant devices, and/or user preferencesof a user associated with the ecosystem that are determined based onuser interactions with the plurality of assistant devices in theecosystem. Each of the one or more device-specific signals associatedwith the respective assistant devices can be processed to classify eachof them into one or more semantic categories from among a plurality ofdisparate semantic categories. One or more candidate semantic labels canbe generated for the respective assistant devices based on the semanticcategories into which one or more of the device-specific signals areclassified. Further, a given semantic label, from among the one or morecandidate semantic labels, and for a given one of the respectiveassistant devices, can be selected and assigned to the given one of therespective assistant devices in the device topology representation ofthe ecosystem.

For example, assume a given assistant device is an interactivestandalone speaker device having a display that is located in a primarydwelling of a user that is associated with the ecosystem. Further assumethat a plurality of queries related to retrieving food recipes have beenreceived and executed at the given assistant device and/or that aplurality of commands related to setting timers have been received andexecuted at the given assistant device, assume that instances of ambientnoise have been detected at the client device, assume that a uniqueidentifier (or label) associated with an additional assistant device inthe ecosystem corresponding to “smart oven” is detected at the givenassistant device, and assume user preferences of the user associatedwith the ecosystem indicate the user likes a fictitious chef namedJohnny Flay. In this example, further assume that the queries related toretrieving food recipes are classified into a “recipes”, “kitchen”,and/or “cooking” category and that the commands related to settingtimers are classified into a “timing” and/or “cooking” category, furtherassume that the instances of ambient noise are classified into a“kitchen” and/or “cooking” category based on the ambient noise capturingcooking sounds (e.g., food in a skillet sizzling, a knife chopping food,a microwave in use, etc.), further assume that the unique identifier (orlabel) of “smart oven” that is associated with the additional assistantdevice is classified into a “kitchen” and/or “cooking” category, andfurther assume that the fictitious chef is classified into a “cooking”category (or a more particular category of “Johnny Flay”). As a result,candidate semantic labels of “recipes display device”, “kitchen displaydevice”, “cooking display device”, “timing display device”, and “JohnnyFlay device” can be generated for the interactive standalone speakerdevice having the display. Further, a given semantic label, from amongthe candidate semantic labels, can be assigned to the interactivestandalone speaker device having the display in the device topologyrepresentation of the ecosystem for the primary dwelling of the user.

In some implementations, the given semantic label can be automaticallyassigned to the given assistant device in the device topologyrepresentation of the ecosystem. For example, if a confidence levelassociated with the given semantic label satisfies a thresholdconfidence level, then the given semantic label may be automaticallyassigned to the given assistant device in the device topologyrepresentation of the ecosystem. The confidence level associated withthe given semantic label can be determined while processing the one ormore device-specific signals that are associated with the givenassistant device. For example, the confidence level associated with thegiven assistant device can be based on a quantity of the one or moredevice-specific signals that are classified into one or more of thesemantic categories. For instance, if nine queries related to retrievingfood recipes have been received at the given assistant device and onlyone query related to retrieving weather information has been received atthe given assistant device, then the semantic label “cooking displaydevice” or “recipe display device” can be automatically assigned togiven assistant device in the device topology representation of theecosystem (even if the given assistant device is not located in akitchen of the user). For example, the confidence level associated withthe given assistant device can be based on measure(s) that aredetermined based on output generated using semantic classifier(s) and/orambient noise detection model(s) to process the one or moredevice-specific signals. For instance, the queries or commands (or textcorresponding thereto) that are previously received can be processed,using semantic classifier(s), to classify each of the queries orcommands into one or more of the semantic categories, the instances ofthe ambient noise can be processed, using ambient noise detectionmodel(s), to classify each of the instances of the ambient noise one ormore of the semantic categories, and the unique identifier(s) (orlabel(s)) can be processed, using semantic classifier(s), to classifyeach of the unique identifier(s) (or label(s)) into one or more of thesemantic categories along with respective measures. As another example,if the given semantic label is unique (relative to the other assistantdevices that are locationally proximate to the given assistant device inthe ecosystem), then the given semantic label may be automaticallyassigned to the given assistant device in the device topologyrepresentation of the ecosystem.

In some additional or alternative implementations, the given semanticlabel can be assigned to the given assistant device in the devicetopology representation of the ecosystem in response to receiving userinput to assign the given semantic label to the given assistant device.For example, a prompt can be generated to solicit a selection, from auser that is associated with the ecosystem, of the given semantic labelfrom among one or more of the candidate semantic labels. The prompt canbe rendered at a client device of the user (e.g., the given assistantdevice or another client device of the user (e.g., a mobile phone)), andthe given semantic label can be assigned to the given assistant devicein response to receiving the selection of the given semantic label. Forinstance, assume the one or more candidate semantic labels include“cooking display device”, “recipe display device”, and “weather displaydevice”. In this instance, the prompt can include each of the candidatesemantic labels and request that the user select the given semanticlabel, from among these candidate semantic labels, that should beassigned to the given assistant device (and optionally replace anexisting semantic label). Although the above examples are described withrespect to a single semantic label being assigned to the given assistantdevice, it should be understood that is for the sake of example and isnot meant to be limiting. For example, the assistant devices describedherein can be assigned multiple semantic labels, such that each of theassistant devices are stored in association with a list of semanticlabels.

In various implementations, and subsequent to the one or more of thesemantic labels being assigned to the respective assistant devices inthe device topology representation of the ecosystem, the semantic labelsthat are assigned to the assistant devices according to the techniquesdescribed herein can also be utilized in processing spoken utterancesreceived at one or more of the assistant devices in the ecosystem. Forexample, audio data corresponding to the spoken utterance can beprocessed to identify a semantic property that is included in the spokenutterance. Further, an embedding (e.g., a word2vec representation) ofthe identified semantic property can be generated and compared to aplurality of embeddings of respective semantic labels that are assignedto the assistant devices in the ecosystem (e.g., respective word2vecrepresentations). Further, it may be determined that the semanticproperty matches a given embedding, of the plurality of embeddings ofthe respective semantic labels, based on the comparison. For example,assume the embeddings are word2vec representations. In this example, acosine distance between the word2vec representation of the semanticproperty and each of the word2vec representations of the respectivesemantic labels can be determined, and a given semantic label that isassociated with a respective cosine distance that satisfies a distancethreshold can be utilized to determine the semantic property of thespoken utterance matches the given semantic label that is (e.g., anexact match or soft match). As a result, a given assistant device thatis associated with the given semantic label may be selected to satisfythe spoken utterance. Additionally or alternatively, proximity of theuser to the given assistant device and/or device capabilities of thegiven assistant device can be considered in selecting the givenassistant device to satisfy the spoken utterance.

By using the techniques described herein to infer and assign semanticlabels to the assistant devices in the ecosystem, the device topologyrepresentation of the ecosystem can be maintained up-to-date withoutrequiring multiple (or even any) user interface inputs to do so.Further, the semantic labels that are assigned to the assistant devicesare semantically meaningful for the user in that the semantic labelsassigned to the respective assistant devices are selected based on theusage of the respective assistant devices and/or respective portions ofthe ecosystem in which the respective assistant devices are located.Accordingly, when spoken utterances are received at one or more of theassistant devices in the ecosystem, an automated assistant can morerobustly and/or accurately select one or more of the assistant devicesthat are best suited for satisfying the spoken utterance. As a result, aquantity and/or duration of user inputs that are received by the one ormore of the assistant devices in the ecosystem can be reduced becausethe user associated with the ecosystem need not specify particulardevices to satisfy the spoken utterance or repeat the spoken utteranceif an incorrect device is selected to satisfy the spoken utterance,thereby conserving computational resources at the assistant devicesand/or network resources by reducing network traffic. Further, thequantity of user inputs that are received by the one or more of theassistant devices in the ecosystem can be reduced because the user neednot manually update the device topology representation via a softwareapplication associated with the ecosystem when an assistant device isnewly added to the ecosystem, moved locations within the ecosystem, orlocated within a portion of the ecosystem that has been repurposed(e.g., a room in a primary dwelling of the user has been changed from aden to a bedroom).

The above description is provided as an overview of only someimplementations of the present disclosure. Further description of thoseimplementations, and other implementations, are described in more detailherein. As one non-limiting example, various implementations aredescribed in more detail in the claims included herein.

In addition, some implementations include one or more processors of oneor more computing devices, where the one or more processors are operableto execute instructions stored in associated memory, and where theinstructions are configured to cause performance of any of the methodsdescribed herein. Some implementations also include one or morenon-transitory computer readable storage media storing computerinstructions executable by one or more processors to perform any of themethods described herein.

It should be appreciated that all combinations of the foregoing conceptsand additional concepts described in greater detail herein arecontemplated as being part of the subject matter disclosed herein. Forexample, all combinations of claimed subject matter appearing at the endof this disclosure are contemplated as being part of the subject matterdisclosed herein.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example environment in whichimplementations disclosed herein may be implemented.

FIG. 2A and FIG. 2B depict some examples associated with assigning agiven semantic label to a given assistant device that is newly added toan ecosystem of assistant devices and/or that is moved within theecosystem of assistant devices, in accordance with variousimplementations.

FIG. 3 is a flowchart illustrating an example method of assigning agiven semantic label to a given assistant device in an ecosystem, inaccordance with various implementations.

FIG. 4 is a flowchart illustrating an example method of using assignedsemantic labels in satisfying a query or command received at assistantdevice(s) in an ecosystem, in accordance with various implementations.

FIG. 5 depicts an example architecture of a computing device, inaccordance with various implementations.

DETAILED DESCRIPTION

There is a proliferation of smart, multi-sensing network connecteddevices (also referred to herein as assistant devices) such smartphones, tablet computers, vehicle computing systems, wearable computingdevices, smart televisions, interactive standalone speakers (e.g., withor without a display), sound speakers, home alarms, door locks, cameras,lighting systems, treadmills, thermostats, weight scales, smart beds,irrigation systems, garage door openers, appliances, baby monitors, firealarms, moisture detectors, etc. Often, multiple assistant devices arelocated within the confines of a structure, such as a home—or locatedwithin multiple related structures, such as a user's primary residenceand the user's secondary residence, the user's vehicle, and/or theuser's work location.

Further, there is a proliferation of assistant devices that each includean automated assistant client that can form a logical instance of anautomated assistant (also referred to herein as assistant inputdevices). These assistant input devices can be devoted solely toassistant functionality (e.g., an interactive standalone speaker and/orstandalone audio/visual device including only an assistant client andassociated interface, and devoted solely to assistant functionality) orcan perform assistant functionality in addition to other functions(e.g., a mobile phone or tablet that includes an assistant client as oneof multiple applications). Moreover, some IoT devices can also beassistant input devices. For example, some IoT devices can include anautomated assistant client and at least speaker(s) and/or microphone(s)that serve (at least in part) as user interface output and/or inputdevices for an assistant interface of the automated assistant client.Although some assistant devices may not implement the automatedassistant client or have means for interfacing with a user (e.g.,speaker(s) and/or microphone(s)), they may still be controlled by theautomated assistant (also referred to herein as assistant non-inputdevices). For example, a smart light bulb may not include an automatedassistant client, speaker(s), and/or microphone(s), but commands and/orrequests can be transmitted to the smart light bulb, via the automatedassistant, to control functionality of the smart light (e.g., turnon/off, dim, change colors, etc.).

Various techniques have been proposed for labeling and/or groupingassistant devices (including both assistant input devices and assistantnon-input devices) within an ecosystem of assistant devices. Forexample, upon adding a new assistant device to the ecosystem, a userassociated with the ecosystem can, in a device topology representationof the ecosystem, manually assign a label (or unique identifier) to thenew assistant device and/or manually add the new assistant device to agroup of assistant devices in the ecosystem via a software application(e.g., via an automated assistant application, a software applicationassociated with the ecosystem, a software application associated withthe new assistant device, or the like). As described herein, the labeloriginally assigned to the assistant device may be forgotten by the useror may not be semantically meaningful for how the assistant device isutilized or for where the assistant device is located within theecosystem. Further, if the assistant device is moved within theecosystem, the user may be required to manually change the labelassigned to the assistant device or/or manually change the group towhich the assistant device is assigned via the software application.Otherwise, the label assigned to the assistant device and/or the groupto which the assistant device is assigned may not accurately reflect alocation or usage of the assistant device and/or may not be semanticallymeaningful for the assistant device. For example, if a smart speakerlabeled “living room speaker” is located in a living room of a primaryhouse of a user, but the smart speaker is moved to a kitchen of theprimary house of the user, then the smart speaker may still be labeled“living room speaker”, even though the label is not representative ofthe location of the assistant device, unless the user manually changesthe label in a device topology representation for the ecosystem of theprimary house of the user.

The device topology representation can include labels (or uniqueidentifiers) that are associated with the respective assistant devices.Further, the device topology representation can specify labels (orunique identifiers) associated with the respective assistant devices.The device attributes for a given assistant device can indicate, forexample, one or more input and/or output modalities supported by therespective assistant devices. For instance, a device attribute for astandalone speaker-only assistant client device can indicate that it iscapable of providing audible output, but incapable of providing visualoutput. The device attributes for a given assistant device canadditionally or alternatively, for example, identify one or more states,of the given assistant device, that can be controlled; identify a party(e.g., a first-party (1P) or third-party (3P)) that manufactures,distributes, and/or creates the firmware for the assistant device;and/or identify a unique identifier for the given assistant device, suchas a 1P or 3P provided fixed identifier or a label assigned to the givenassistant device by a user. According to various implementationsdisclosed herein, the device topology representation can optionallyfurther specify: which smart devices can be controlled locally by whichassistant devices; local addresses for locally controllable assistantdevices (or local addresses for hubs that can directly locally controlthose assistant devices); local signal strengths and/or other preferenceindicators amongst the respective assistant devices. Further, accordingto various implementations disclosed herein, the device topologyrepresentation (or a variation thereof) can be locally stored at each ofa plurality of assistant devices for utilization in locally controllingand/or locally assigning labels to assistant devices. Moreover, thedevice topology representation can specify groups associated with therespective assistant devices that can be defined with various levels ofgranularity. For instance, multiple smart lights in a living room of aprimary house of a user can be considered to belong to a “living roomlights” group. Further, if the living room of the primary house alsoincludes a smart speaker, all of the assistant devices located in theliving room can be considered to belong to a “living room assistantdevices” group.

The automated assistant can detect various events that occur in theecosystem based on one or more signals generated by one or more of theassistant devices. For example, the automated assistant can process,using an event detection model(s) or rule(s), one or more of the signalsto detect these events. Further, the automated assistant can cause oneor more actions to be performed based on the output generated based onone or more of the signals for the events that occur in the ecosystem.In some implementations, the event detected may be a device-relatedevent that is associated with one or more of the assistant devices(e.g., assistant input devices and/or assistant non-input devices). Forexample, a given one of the assistant devices can detect when it isnewly added to the ecosystem based on one or more wireless signalsgenerated by the given one of the assistant devices (and optionally aunique identifier associated with the given one of the assistant devicesthat is included in one or more of the wireless signals). As anotherexample, a given one of the assistant devices can detect when it ismoved within the ecosystem based on the given one of the assistantdevices being surrounded by one or more different assistant devices thatpreviously surrounded the given one of the assistant devices (andoptionally determined based on respective unique identifiers of the oneor more different assistant devices). In these implementations, one ormore of the actions performed by the automated assistant can include,for example, determining a semantic label for the given one of theassistant devices in response to determining that it is newly introducedto the ecosystem or moved locations within the ecosystem, and causingthe semantic label to be assigned to the given one of the assistantdevices in a device topology representation of the ecosystem.

In some additional or alternative implementations, the event detectedmay be an acoustic event captured via respective microphone(s) of one ormore assistant devices. The automated assistant can cause audio datathat captures the acoustic event to be processed using acoustic eventmodel(s). The acoustic event detected by the acoustic event model(s) caninclude, for example, detecting a hotword that invokes an automatedassistant included in a spoken utterance using hotword detectionmodel(s), detecting ambient noise in the ecosystem (and optionally whilespeech reception is active at a given one of the assistant devices) inthe ecosystem using ambient noise detection model(s), detecting aparticular sound (e.g., glass breaking, a dog barking, a cat meowing, adoorbell ringing, a smoke alarm sounding, or a carbon monoxide detectorsounding) in the ecosystem using sound detection model(s), and/or otheracoustic-related events that can be detected using respective acousticevent detection model(s). For example, assume audio data is detected viarespective microphone(s) of at least one of the assistant devices. Inthis example, the automated assistant can cause the audio data to beprocessed by the hotword detection model(s) of the at least one of theassistant device(s) to determine whether the audio data captures ahotword to invoke the automated assistant. Further, the automatedassistant can additionally or alternatively cause the audio data to beprocessed by the ambient noise detection model(s) of the at least one ofthe assistant device(s) to classify any ambient (or background) noisecaptured in the audio data into one or more disparate semanticcategories of ambient noise (e.g., movie or television sounds, cookingsounds, and/or other disparate categories of sounds). Moreover, theautomated assistant can additionally or alternatively cause the audiodata to be processed by the sound detection model(s) of the at least oneof the assistant device(s) to determine whether any particular soundsare captured in the audio data.

Implementations described herein relate to inferring determiningsemantic labels for assistant devices based on one or more signalsgenerated by each of the respective devices. Those implementationsfurther relate to assigning the semantic labels to the assistant devicesin a device topology representation of the ecosystem. The semanticlabels can be automatically assigned to the assistant devices or can bepresented to the user associated with the ecosystem to solicit aselection of one or more of the semantic labels to be assigned to theassistant devices. Yet further, those implementations relate tosubsequently using the semantic labels in processing a spoken utteranceto determine whether the spoken utterance includes a term or phrase thatmatches any of the semantic labels, and when it is determined the spokenutterance includes a term or phrase that matches one of the semanticlabels, using an assistant device associated with the matching one ofthe semantic labels to satisfy the spoken utterance.

Now turning to FIG. 1 , an example environment in which techniquesdisclosed herein may be implemented is illustrated. The exampleenvironment includes a plurality of assistant input devices 106 _(1-N)(also referred to herein simply as “assistant input devices 106”), oneor more cloud-based automated assistant components 119, one or moreassistant non-input systems 180, one or more assistant non-input devices185 _(1-N) (also referred to herein simply as “assistant non-inputdevices 185”), a device activity database 191, a machine learning (“ML”)model(s) database, and a device topology database 193. The assistantinput devices 106 and the assistant non-input device 185 of FIG. 1 mayalso be referred to collectively herein as “assistant devices”.

One or more (e.g., all) of the assistant input devices 106 can execute arespective instance of a respective automated assistant client 118_(1-N). However, in some implementations one or more of the assistantinput devices 106 can optionally lack an instance of the respectiveautomated assistant client 118 _(1-N), and still include engine(s) andhardware components for receiving and processing user input directed toan automated assistant (e.g., microphone(s), speaker(s), speechrecognition engine(s), natural language processing engine(s), speechsynthesis engine(s), and so on). An instance of the automated assistantclient 118 _(1-N) can be an application that is separate from anoperating system of the respective assistant input devices 106 (e.g.,installed “on top” of the operating system)—or can alternatively beimplemented directly by the operating system of the respective assistantinput devices 106. As described further below, each instance of theautomated assistant client 118 _(1-N) can optionally interact with oneor more cloud-based automated assistant components 119 in responding tovarious requests provided by respective user interface components 107_(1-N) of any one of the respective assistant input devices 106.Further, and as also described below, other engine(s) of the assistantinput devices 106 can optionally interact with one or more of thecloud-based automated assistant components 119.

One or more the cloud-based automated assistant components 119 can beimplemented on one or more computing systems (e.g., server(s)collectively referred to as a “cloud” or a “remote” computing system)that are communicatively coupled to respective assistant input devices106 via one or more local area networks (“LANs,” including Wi-Fi LANs,Bluetooth networks, near-field communication networks, mesh networks,etc.) and/or wide area networks (“WANs,”, including the Internet, etc.).The communicative coupling of the cloud-based automated assistantcomponents 119 with the assistant input devices 106 is indicatedgenerally by 110 ₁ of FIG. 1 . Also, in some embodiments, the assistantinput devices 106 may be communicatively coupled with each other via oneor more networks (e.g., LANs and/or WANs), indicated generally by 110 ₂of FIG. 1 .

The one or more cloud-based automated assistant components 119 can alsobe communicatively coupled with the one or more assistant non-inputsystems 180 via one or more networks (e.g., LANs and/or WANs). Thecommunicative coupling of the cloud-based automated assistant components119 with the assistant non-input system(s) 180 is indicated generally by110 ₃ of FIG. 1 . Further, assistant non-input system(s) 180 can each becommunicatively coupled to one or more (e.g., groups) of the assistantnon-input devices 185 via one or more networks (e.g., LANs and/or WANs).For example, a first assistant non-input system 180 can becommunicatively coupled with, and receive data from, a first group ofone or more of the assistant non-input devices 185, a second assistantnon-input system 180 can be communicatively coupled with, and receivedata from, a second group of one or more of the assistant non-inputdevices 185, and so on. The communicative coupling of the assistantnon-input system(s) 180 with the assistant non-input devices 185 isindicated generally by 110 ₄ of FIG. 1 .

An instance of an automated assistant client 118, by way of itsinteractions with one or more of the cloud-based automated assistantcomponents 119, may form what appears to be, from a user's perspective,a logical instance of an automated assistant 120 with which the user mayengage in a human-to-computer dialog. Two instances of such an automatedassistant 120 are depicted in FIG. 1 . A first automated assistant 120Aencompassed by a dashed line includes automated assistant client 118 ₁of assistant input device 106 ₁ and one or more cloud-based automatedassistant components 119. A second automated assistant 120B encompassedby a dash-dash-dot line includes automated assistant client 118 _(N) ofassistant input device 106 _(N) and one or more cloud-based automatedassistant components 119. It thus should be understood that each userthat engages with an automated assistant client 118 executing on one ormore of the assistant input devices 106 may, in effect, engage with hisor her own logical instance of an automated assistant 120 (or a logicalinstance of automated assistant 120 that is shared amongst a householdor other group of users). For the sake of brevity and simplicity, theterm “automated assistant” as used herein will refer to the combinationof an automated assistant client 118 executing on a respective one ofthe assistant input devices 106 and one or more of the cloud-basedautomated assistant components 119 (which may be shared amongst multipleautomated assistant clients 118). Although only a plurality of assistantinput devices 106 are illustrated in FIG. 1 , it is understood thatcloud-based automated assistant component(s) 119 can additionally servemany additional groups of assistant input devices.

The assistant input devices 106 may include, for example, one or moreof: a desktop computing device, a laptop computing device, a tabletcomputing device, a mobile phone computing device, a computing device ofa vehicle of the user (e.g., an in-vehicle communications system, anin-vehicle entertainment system, an in-vehicle navigation system), aninteractive standalone speaker (e.g., with or without a display), asmart appliance such as a smart television, a wearable apparatus of theuser that includes a computing device (e.g., a watch of the user havinga computing device, glasses of the user having a computing device, avirtual or augmented reality computing device), and/or any IoT devicecapable of receiving user input directed to the automated assistant 120.Additional and/or alternative assistant input devices may be provided.The assistant non-input devices 185 may include many of the same devicesas the assistant input devices 106, but are not capable of receivinguser input directed to automated assistant 120 (e.g., do not includeuser interface input component(s)). Although the assistant non-inputdevices 185 do not receive user input directed to the automatedassistant 120, the assistant non-input devices 185 may still becontrolled by the automated assistant 120.

In some implementations, the plurality of assistant input devices 106and assistant non-input devices 185 can be associated with each other invarious ways in order to facilitate performance of techniques describedherein. For example, in some implementations, the plurality of assistantinput devices 106 and assistant non-input devices 185 may be associatedwith each other by virtue of being communicatively coupled via one ormore networks (e.g., via the network(s) 110 of FIG. 1 ). This may be thecase, for instance, where the plurality of assistant input devices 106and assistant non-input devices 185 are deployed across a particulararea or environment, such as a home, a building, and so forth.Additionally or alternatively, in some implementations, the plurality ofassistant input devices 106 and assistant non-input devices 185 may beassociated with each other by virtue of them being members of acoordinated ecosystem that are at least selectively accessible by one ormore users (e.g., an individual, a family, employees of an organization,other predefined groups, etc.). In some of those implementations, theecosystem of the plurality of assistant input devices 106 and assistantnon-input devices 185 can be manually and/or automatically associatedwith each other in a device topology representation of the ecosystemthat is stored in the device topology database 193.

The assistant non-input system(s) 180 can include one or morefirst-party (1P) systems and/or one or more third-party (3P) systems. A1P system references a system that is controlled by a party that is thesame as the party that controls the automated assistant 120 beingreferenced herein. A 3P system, as used herein, references a system thatis controlled by a party that is distinct from the party that controlsthe automated assistant 120 being referenced herein.

The assistant non-input system(s) 180 can receive data from theassistant non-input devices 185 and/or the one or more cloud-basedautomated assistant components 119 that are communicatively coupledthereto (e.g., via the networks 110 of FIG. 1 ), and selectivelytransmit data (e.g., state(s), state change(s), and/or other data) tothe assistant non-input devices 185 and/or the one or more cloud-basedautomated assistant components 119. For example, assume assistantnon-input device 185 ₁ is a smart doorbell IoT device. In response to anindividual pressing a button on the doorbell IoT device, the doorbellIoT device can transmit corresponding data to one of the assistantnon-input system(s) 180 (e.g., one of the assistant non-input system(s)managed by a manufacturer of the doorbell that may be a 1P system or 3Psystem). The one of the assistant non-input system(s) 180 can determinea change in a state of the doorbell IoT device based on such data. Forinstance, the one of the assistant non-input system(s) 180 can determinea change in the doorbell from an inactive state (e.g., no recentpressing of the button) to an active state (recent pressing of thebutton), and the change in the doorbell state can be transmitted to theone or more cloud-based automated assistant components 119 and/or one ormore of the assistant input devices 106 (e.g., via the networks 110 ofFIG. 1 ). Notably, although user input is received at the assistantnon-input device 185 ₁ (e.g., the pressing of the button on thedoorbell), the user input is not directed to the automated assistant 120(hence the term “assistant non-input device”). As another example,assume assistant non-input device 185 ₁ is a smart thermostat IoT devicethat has microphone(s), but the smart thermostat does not include theautomated assistant client 118. An individual can interact with thesmart thermostat (e.g., using touch input or spoken input) to change atemperature, set particular values as setpoints for controlling an HVACsystem via the smart thermostat, and so on. However, the individualcannot communicate directly with the automated assistant 120 via thesmart thermostat, unless the smart thermostat includes the automatedassistant client 118.

In various implementations, the one or more cloud-based automatedassistant components 119 may further include various engines. Forexample, as shown in FIG. 1 , the one or more cloud-based automatedassistant components 119 may further include an event detection engine130, a device identification engine 140, an event processing engine 150,a semantic labeling engine 160, and a query/command processing engine170. Although these various engines are depicted as the one or morecloud-based automated assistant components 119 in FIG. 1 , it should beunderstood that is for the sake of example and is not meant to belimiting. For example, the assistant input devices 106 and/or theassistant non-input devices 185 may include one or more of these variousengines. As another example, these various engines can be distributedacross the assistant input devices 106, the assistant non-input devices185 may include one or more of these various engines, and/or, the one ormore cloud-based automated assistant components 119.

In some implementations, the event detection engine 130 can detectvarious events that occur in the ecosystem. In some versions of thoseimplementations, the event detection engine 130 can determine when agiven one of the assistant input devices 106 and/or a given one of theassistant non-input devices 185 (e.g., a given one of the assistantdevices) is newly added to the ecosystem or moved locations within theecosystem. For example, the event detection engine 130 can determinewhen a given one of the assistant devices is newly added to theecosystem based on one or more wireless signals detected over thenetwork(s) 110 and via the device identification engine 140. Forinstance, when the given one of the assistant devices is newly connectedto one or more of the networks 110, the given one of the assistantdevices can broadcast a signal that indicates it is newly added to thenetwork 110. As another example, the event detection engine 130 candetermine when a given one of the assistant devices has moved locationswithin the ecosystem based on one or more wireless signals detected overthe network(s) 110. In these examples, the device identification engine140 can process the signals to determine that the given one of theassistant devices is newly added to the network 110 and/or to determinethat the given one of the assistant devices has moved locations withinthe ecosystem. The one or more wireless signals detected by the deviceidentification engine 140 can be, for example, a network signal and/oran acoustic signal that is human-imperceptive and that optionallyincludes respective unique identifiers for the given one of theassistant devices and/or other assistant devices that are locationallyproximate to the given one of the assistant devices. For instance, whenthe given one of the assistant devices is moved locations within theecosystem, the device identification engine 140 can detect one or morewireless signals being transmitted by other assistant devices that arelocationally proximate to the given one of the assistant devices. Thesesignals can be processed to determine one or more other assistantdevices that are locationally proximate to the given one of theassistant devices differ from one or more assistant devices that werepreviously locationally proximate to the given one of the assistantdevices.

In some further versions of those implementations, the automatedassistant 120 can cause the given one of the assistant devices that isnewly added to the ecosystem or moved locations within the ecosystem tobe assigned to a group of assistant devices (e.g., in the devicetopology representation of the ecosystem stored in the device topologydatabase 193). For example, in implementations where the given one ofthe assistant devices is newly added to the ecosystem, the given one ofthe assistant devices can be added to an existing group of assistantdevices or a new group of assistant devices that includes the given oneof the assistant devices can be created. For instance, if the given oneof the assistant devices is locationally proximate to a plurality ofassistant devices belonging to a “kitchen” group (e.g., a smart oven, asmart coffee maker, an interactive standalone speaker associated with aunique identifier or label that indicates it is located in the kitchen,and/or other assistant devices), then the given one of the assistantdevices can be added to the “kitchen” group, or a new group can becreated. As another example, in implementations where the given one ofthe assistant devices is moved locations within the ecosystem, the givenone of the assistant devices can be added to an existing group ofassistant devices, or a new group of assistant devices that includes thegiven one of the assistant devices can be created. For instance, if thegiven one of the assistant devices was locationally proximate to aplurality of assistant devices belonging to the aforementioned “kitchen”group, but is now locationally proximate to a plurality of assistantdevices belonging to a “garage” group (e.g., a smart garage door, asmart door lock, and/or other assistant devices), then the given one ofthe assistant devices can be removed from the “kitchen” group and addedto the “garage” group.

In some additional or alternative versions of those implementations, theevent detection engine 130 can detect occurrences of acoustic events.The occurrences of the acoustic event can be detected based on audiodata that is received at one or more of the assistant input devices 106and/or one or more of the assistant non-input devices 185 (e.g., one ormore of the assistant devices). The audio data that is received at theone or more of the assistant devices can be processed by event detectionmodel(s) stored in the ML model(s) database 192. In theseimplementations, each of the one or more assistant devices that detectoccurrences of the acoustic events include respective microphone(s).

In some further versions of those implementations, the occurrences ofthe acoustic event can include ambient noise captured in audio data atone or more of the assistant devices (and optionally only includeoccurrences of ambient noise that are detected when speech reception isactive at the one or more of the assistant devices). The ambient noisedetected at each of the one or more assistant devices can be stored inthe device activity database 191. In these implementations, the eventprocessing engine 150 can process the ambient noise detected at the oneor more assistant devices using ambient noise detection model(s) (e.g.,stored in the ML model(s) database 192) that are trained to classify theambient noise into one or more of a plurality of disparate semanticcategories based on measure(s) generated in processing the ambient noiseusing the ambient noise detection model(s). The plurality of disparatecategories can include, for example, a movie or television soundscategory, a cooking sounds category, a music sounds category, a garageor workshop sounds category, a patio sounds category, and/or otherdisparate categories of sounds that are semantically meaningful. Forinstance, if the event processing engine 150 determines that ambientnoise processed using the ambient noise detection model(s) includessounds that correspond to a microwave sounding, food sizzling on askillet, a food processor processing food, etc., then the eventprocessing engine 150 can classify the ambient noise into a cookingsounds category. As another example, if the event processing engine 150determines that ambient noise processed using the ambient noisedetection model(s) includes sounds that correspond to a saw buzzing, ahammer hammering, etc., then the event processing engine 150 canclassify the ambient noise into a garage or workshop category. Theclassification of the ambient noise detected at particular devices mayalso be utilized as device-specific signals that are utilized ininferring semantic labels for the assistant devices (e.g., describedwith respect to the semantic labeling engine 160).

In some additional or alternative versions of those furtherimplementations, the occurrences of the acoustic event can include ahotword or particular sound detected at one or more of the assistantdevices. In these implementations, the event processing engine 150 canprocess the audio data detected at the one or more assistant devicesusing hotword detection model(s) trained to determine whether the audiodata includes a particular word or phrase that invokes the automatedassistant 120 based on measure(s) generated in processing the audio datausing the hotword detection model(s). For example, the event processingengine 150 can process the audio data to determine whether the audiodata captures a spoken utterance of a user that includes “Assistant”,“Hey assistant”, “Okay, assistant”, and/or any other word or phrase thatinvokes the automated assistant. Further, the measure(s) generated usingthe hotword detection model(s) can include a respective confidence levelor probability that is indicative of whether or not the audio dataincludes a term or phrase that invokes the automated assistant 120. Insome versions of these implementations, the event processing engine 150can determine that the audio data captures the term or phrase if themeasure(s) satisfy a threshold. For instance, if the event processingengine 150 generates a measure of 0.70 that is associated with the audiodata capturing a term or phrase that invokes the automated assistant 120and the threshold is 0.65, then the event processing engine 150 maydetermine that audio data captures the term or phrase that invokes theautomated assistant 120.

In these implementations, the event processing engine 150 canadditionally or alternatively process the audio data detected at the oneor more assistant devices using sound detection model(s) trained todetermine whether the audio data includes a particular sound based onmeasure(s) generated in processing the audio data using the sounddetection model(s). The particular sounds can include, for example,glass breaking, a dog barking, a cat meowing, a doorbell ringing, asmoke alarm sounding, or a carbon monoxide detector sounding. Forexample, the event processing engine 150 can process the audio data todetermine whether the audio data captures any of these particularsounds. In this example, a single sound detection model can be trainedto determine whether multiple of the particular sounds are captured inthe audio data, or multiple sounds detection models can be trained todetermine whether a given particular sound is captured in the audiodata. Further, the measure(s) generated using the sound detectionmodel(s) can include a respective confidence level or probability thatis indicative of whether or not the audio data includes the particularsound. In some versions of these implementations, the event processingengine 150 can determine that the audio data captures the particularsound if the measure(s) satisfy a threshold. For instance, if the eventprocessing engine 150 generates a measure of 0.70 that is associatedwith the audio data capturing a sound of glass breaking and thethreshold is 0.65, then the event processing engine 150 may determinethat audio data captures the sound of glass breaking.

In various implementations, the occurrence of the acoustic event may becaptured by multiple assistant devices in the ecosystem. For instance,multiple assistant devices in the environment may capture temporallycorresponding audio data (e.g., temporally corresponding in thatrespective audio data is detected at the multiple assistant devices atthe same time or within a threshold duration of time). In theseimplementations, and in response to a given assistant device detectingaudio data in the ecosystem, the device identification engine 140 canidentify one or more additional assistant devices that should also havedetected temporally corresponding audio data that also captures theacoustic event. For example, the device identification engine 140 canidentify one or more of the additional assistant devices that shouldalso have detected temporally corresponding audio data that alsocaptures the acoustic event based on the one or more additionalassistant devices historically detecting temporally corresponding audiodata that also captures the acoustic event. In other words, the deviceidentification engine 140 can anticipate that the one or more additionalassistant devices should also capture audio data that includes theacoustic events because the given assistant device and the one or moreadditional assistant devices have historically captured temporallycorresponding audio data that includes the same acoustic.

In various implementations, one or more device-specific signalsgenerated or detected by the respective assistant devices can be storedin device activity database 191. In some implementations, the deviceactivity database 191 can correspond to a portion of memory dedicated tothe device activity of that specific assistant device. In someadditional or alternative implementations, the device activity database191 can correspond to memory of a remote system in communication withthe assistant devices (e.g., via the networks 110 of FIG. 1). Thisdevice activity can be utilized in generating candidate semantic labelsfor a given one of the assistant devices (e.g., described with respectto the semantic labelling engine 160). The device activity can include,for example, queries or requests received at the respective assistantdevices (and/or a semantic category associated with each of theplurality of queries or requests), commands executed at the respectiveassistant devices (and/or a semantic category associated with each ofthe plurality of commands), ambient noise detected at the respectiveassistant devices (and/or a semantic category associated with variousinstances of the ambient noise), unique identifiers or labels of anyassistant devices that are locationally proximate to a given assistantdevice (e.g., identified via the event detection engine 140), userpreferences of a user associated with the ecosystem that are determinedbased on user interactions with the plurality of assistant devices inthe ecosystem (e.g., browsing history, search history, purchase history,music history, movie or television history, and/or any other userinteractions associated with the plurality of assistant devices), and/orany other data that is received, generated, and/or executed by therespective assistant devices.

In some implementations, the semantic labeling engine 160 can processone or more device-specific signals to generate candidate semanticlabels for a given one of the assistant devices (e.g., a given one theassistant input devices 106 and/or a given one of the assistantnon-input devices 185) based on the one or more device-specific signals.In some versions of those implementations, the given assistant device,for which the candidate semantic labels are generated, can be identifiedin response to determining that the given assistant device is newlyadded to the ecosystem and/or moved locations within the ecosystem. Insome additional or alternative versions of those implementations, thegiven assistant device, for which the candidate semantic labels aregenerated, can be identified periodically (e.g., once a month, onceevery six months, once a year and so on). In some additional oralternative versions of those implementations, the given assistantdevice, for which the candidate semantic labels are generated, can beidentified in response to determining that the portion of the ecosystemin which the given assistant device is located has been repurposed(e.g., a room in a primary dwelling of ecosystem has been repurposedfrom a den to a bedroom). In these implementations, the given assistantdevice can be identified utilizing the event detection engine 130.Identifying the given assistant device in these and other manners aredescribed with respect to FIGS. 2A and 2B.

In some implementations, the semantic labeling engine 160 can select agiven semantic label, from among the candidate semantic labels, for agiven assistant device based on one or more of the device-specificsignals. Generating the candidate semantic labels for a given assistantdevice and selecting a given semantic label, from among the candidatesemantic labels, based on the one or more device-specific labels isdescribed below (e.g., with respect to FIGS. 2A and 2B).

In implementations where the candidate semantic labels for the givenassistant device are generated based on the queries, requests, and/orcommands stored in the device activity database 191 (or textcorresponding thereto), the queries, requests, and/or commands can beprocessed using a semantic classifier (e.g., stored in ML model(s)database 192) to index the device activity, for the given assistantdevice, into one or more different semantic categories that correspondto disparate types of queries, requests, and/or commands. The candidatesemantic labels can be generated based on the semantic categories intowhich the queries, commands, and/or requests are classified into, andthe given semantic label that is selected for the given assistant devicecan be selected based on a quantity of the plurality of queries,requests, and/or commands that are classified in a given semanticcategory. For example, assume that the given assistant device haspreviously received nine queries related to obtaining cooking recipesand two commands related to controlling smart lights in the ecosystem.In this example, the candidate semantic labels can include, for example,a first semantic label of “kitchen device” and a second semantic labelof “control smart lights device”. Further, the semantic labeling engine160 can select the first semantic label of “kitchen device” as the givensemantic label for the given assistant device since the historical usageof the given assistant device indicates that it is primarily used forcooking-related activities.

In some implementations, the semantic classifier(s) stored in the MLmodel(s) database 192 can be natural language understanding engine(s)(e.g., implemented by the NLP module 122 described below). Intent(s)that are determined based on processing the queries, commands, and/orrequests that were previously received at the assistant devices can bemapped to one or more of the semantic categories. Notably, the pluralityof disparate semantic categories described herein can be defined withvarious levels of granularity. For example, a the semantic categoriescan be associated with a genus category of smart device commands and/orfor species category(ies) of that genus class, such as a category ofsmart lighting commands, a category of smart thermostat commands, and/ora category of smart camera commands. Put another way, each category canhave a unique set of intent(s) associated therewith that are determinedby the semantic classifier(s), although some intent(s) of a category mayalso be associated with additional category(ies). In some additional oralternative implementations, the semantic classifier(s) stored in the MLmodel(s) database 192 can be utilized to generate a text embedding(e.g., a lower-dimensional representation, such as a word2vecrepresentation) corresponding to text of the queries, commands, and/orrequests. These embeddings can be points within an embedding space wherewords or phrases that are semantically similar are associated with thesame or similar portions of the embedding space. Further, these portionsof the embedding space can be associated with one or more of theplurality of disparate semantic categories, and a given one of theembeddings can be classified into a given one of the semantic categoriesif a distance metric between the given one of the embeddings and one ormore of the portions of the embedding space satisfy(ies) a distancethreshold. For instance, cooking-related words or phrases can beassociated with a first portion of the embedding space that isassociated with a “cooking” semantic label, weather-related words orphrases can be associated with a second portion of the embedding spacethat is associated with a “weather” semantic label, and so on.

In implementations where the one or more device-specific signalsadditionally or alternatively include the ambient noise activity,instances of the ambient noise can be processed using ambient noisedetection model(s) (e.g., stored in ML model(s) database 192) to indexthe device activity, for the given assistant device, into one or moredifferent semantic categories that correspond to disparate types ofambient noise. The candidate semantic labels can be generated based onthe semantic categories into which the instances of the ambient noiseare classified into, and the given semantic label that is selected forthe given assistant device can be selected based on a quantity of theinstances of ambient that are classified in a given semantic category.For instance, assume that ambient noise detected at the given assistantdevice (and optionally only when speech recognition is active) primarilyincludes ambient noise that is classified as cooking sounds. In thisexample, the semantic labeling engine 160 can select the semantic labelof “kitchen device” as the given semantic label for the given assistantdevice since the ambient noise captured in audio data indicates thedevice is located proximate to cooking-related activities.

In some implementations, the ambient noise detection model(s) stored inthe ML model(s) database 192 can be trained to detect a particularsound, and it can be determined whether an instance of ambient noiseincludes the particular sound based on output(s) generated across theambient noise detection model(s). The ambient noise detection model(s)can be trained using, for example, supervised learning techniques. Forexample, a plurality of training instances can be obtained. Each of thetraining instances can include training instance input that includesambient noise, and corresponding training instance output that includesan indication of whether the training instance input includes theparticular sound(s) for which the ambient noise detection model(s) isbeing trained to detect. For instance, if the ambient noise detectionmodel(s) is being trained to detect the sound of glass breaking,training instances that include the sound of glass breaking can beassigned a label (e.g., “Yes”) or value (e.g., “1”) and traininginstances that do not include the sound of glass breaking can beassigned a different label (e.g., “No”) or value (e.g., “0”). In someadditional or alternative implementations, the ambient noise detectionmodel(s) stored in the ML model(s) database 192 can be utilized togenerate an audio embedding (e.g., a lower-dimensional representation ofthe instances of the ambient noise) based on the instances of theambient noise (or acoustic features thereof, such as mel-Cepstralfrequency coefficients, raw audio waveforms, and/or other acousticfeatures). These embeddings can be points within an embedding spacewhere similar sounds (or acoustic features that capture the sounds) areassociated with the same or similar portions of the embedding space.Further, these portions of the embedding space can be associated withone or more of the plurality of disparate semantic categories, and agiven one of the embeddings can be classified into a given one of thesemantic categories if a distance metric between the given one of theembeddings and one or more of the portions of the embedding spacesatisfy(ies) a distance threshold. For instance, instances of glassbreaking can be associated with a first portion of the embedding spacethat is associated with a “glass breaking” sound, instances of adoorbell ringing can be associated with a second portion of theembedding space that is associated with a “doorbell” sound, and so on.

In implementations where the one or more device-specific signalsadditionally or alternatively include the unique identifiers or labelsof additional assistant device(s) that are locationally proximate to thegiven assistant device, the candidate semantic labels can be generatedbased on the those unique identifiers or labels, and the given semanticlabel that is selected for the given assistant device can be selectedbased on one or more of the unique identifiers or labels of theadditional assistant device(s). For instance, assume that a first labelof “smart oven” is associated with a first assistant device that islocationally proximate to the given assistant device and a second labelof “smart coffee maker” is associated with a second assistant devicethat is locationally proximate to the given assistant device. In thisexample, the semantic labeling engine 160 can select the semantic labelof “kitchen device” as the given semantic label for the given assistantdevice since the labels associated with the additional assistant devicesthat are locationally proximate to the given assistant device arecooking-related. The unique identifiers or labels can be processed usingthe semantic classifier(s) stored in the ML model(s) database 192 in thesame or similar manner described above with respect to processing thequeries, commands, and/or requests.

In implementations where the candidate semantic labels for the givenassistant device are generated based on the user preferences, the userpreferences can be processed using the semantic classifier (e.g., storedin ML model(s) database 192) to index the user preferences into one ormore different semantic categories that correspond to disparate types ofuser preferences. The candidate semantic labels can be generated basedon the semantic categories into which the user preferences areclassified into, and the given semantic label that is selected for thegiven assistant device can be selected based on a given semanticcategory into which the user preferences are classified that is relatedto the given assistant device. For example, assume that the userpreferences indicate that a user associated with the ecosystem likescooking, and likes a fictitious chef named Johnny Flay. In this example,the candidate semantic labels can include, for example, a first semanticlabel of “cooking device” and a second candidate semantic label of“Johnny Flay device”. In some versions of those implementations, theutilization of the user preferences as a device-specific signal forgenerating the one or more candidate semantic labels may be in responseto receiving user input to assign semantic labels to the assistantdevices based on the user preferences.

In some implementations, the semantic labelling engine 160 canautomatically assign the given semantic label to the given assistantdevice in a device topology representation of the ecosystem (e.g.,stored in the device topology database 193). In some additional oralternative implementations, the semantic labelling engine 160 can causethe automated assistant 120 to generate a prompt that includes thecandidate semantic labels. The prompt can solicit, from a user that isassociated with the ecosystem, a selection of one of the candidatelabels as the given semantic label. Further, the prompt can be renderedvisually and/or audibly at a given one of the assistant devices (thatmay or may not be the given assistant device to which the given semanticlabel is being assigned) and/or a client device (e.g., a mobile device)of the user. In response to receiving the selection of one of thecandidate labels as the given semantic label, the given semantic labelthat is selected can be assigned to the given assistant device in thedevice topology representation of the ecosystem (e.g., stored in thedevice topology database 193). In some versions of theseimplementations, the given semantic label that is assigned to the givenassistant device can be added to a list of semantic labels for the givenassistant device. In other words, multiple semantic labels can beassociated with the given assistant device. In other versions of theseimplementations, the given semantic label that is assigned to the givenassistant device can supplant any other semantic label for the givenassistant device. In other words, only a single semantic label may beassociated with the given assistant device.

In some implementations, the query/command processing engine 170 canprocess a query, request, or command that is directed to the automatedassistant 120 and that is received via one or more of the assistantinput devices 106. The query/command processing engine 170 can processthe query, request, or command to select one or more of the assistantdevices to satisfy the query or command. Notably, the one or more of theassistant devices that are selected to satisfy the query or command maydiffer from the one or more of the assistant input devices 106 thatreceived the query or command. The query/command processing engine 170can select the one or more assistant devices to satisfy the spokenutterance based on one or more criteria. The one or more criteria caninclude, for example, proximity of one or more of the devices to theuser that provided the spoken utterance (e.g., determined using thepresence sensors 105 described below), device capabilities of one ormore of the devices in the ecosystem, semantic label(s) assigned to theone or more assistant devices, and/or other criteria for selectingassistant devices to satisfy spoken utterances.

For example, assume a display device is needed to satisfy the spokenutterance. In this example, candidate assistant devices considered inselecting the given assistant device to satisfy the spoken utterance maybe limited to those that include the display device. If multipleassistant devices in the ecosystem include the display device, then thegiven assistant device that includes that display device and is mostproximate to the user may be selected to satisfy the utterance. Incontrast, in implementations where only speaker(s) are needed to satisfythe spoken utterance (e.g., a display device is not needed to satisfythe spoken utterance), candidate assistant devices considered inselecting the given assistant device to satisfy the spoken utterance mayinclude those that have speaker(s) regardless of whether they includethe display device.

As another example, assume the spoken utterance includes a semanticproperty that matches a semantic label assigned to a given assistantdevice. The query/command processing engine 170 can determine that thesemantic property of the spoken utterance matches the semantic labelassigned to the given assistant device by generating a first embeddingcorresponding to one or more terms of the spoken utterance (or textcorresponding thereto) and a second embedding corresponding to one ormore terms of the semantic label assigned to the given assistant device,and comparing the embeddings to determine whether a distance metricbetween the embeddings satisfies a distance threshold which indicatesthat the embeddings match (e.g., whether it is an exact match or a softmatch). In this example, the query/command processing engine 170 canselect the given assistant device to satisfy the spoken utterance basedon spoken utterance matching the semantic label (and optionally inaddition to or in lieu of proximity of the user that provided the spokenutterance to the given assistant device). In this manner, selection ofthe assistant devices to satisfy the spoken utterance can be biasedtowards the semantic labels that are assigned to the assistant devicesas described herein.

In various implementations, one or more of the assistant input devices106 may include one or more respective presence sensors 105 _(1-N) (alsoreferred to herein simply as “presence sensors 105”) that are configuredto provide, with approval from corresponding user(s), signals indicativeof detected presence, particularly human presence. In some of thoseimplementations, the automated assistant 120 can identify one or more ofthe assistant input devices 106 to satisfy a spoken utterance from auser that is associated with the ecosystem based at least in part ofpresence of the user at or one or more of the assistant input devices106. The spoken utterance can be satisfied by rendering responsivecontent (e.g., audibly and/or visually) at one or more of the assistantinput devices 106, by causing one or more of the assistant input devices106 to be controlled based on the spoken utterance, and/or by causingone or more of the assistant input devices 106 to perform any otheraction to satisfy the spoken utterance. As described herein, theautomated assistant 120 can leverage data determined based on therespective presence sensors 105 in determining those assistant inputdevices 106 based on where a user is near or was recently near, andprovide corresponding commands to only those assistant input devices106. In some additional or alternative implementations, the automatedassistant 120 can leverage data determined based on the respectivepresence sensors 105 in determining whether any user(s) (any users orspecific users) are currently proximal to any of the assistant inputdevices 106, and can optionally suppress provision of commands based itis determined that no users (any users or specific users) are proximalto any of the assistant input devices 106.

The respective presence sensors 105 may come in various forms. Someassistant input devices 106 may be equipped with one or more digitalcameras that are configured to capture and provide signal(s) indicativeof movement detected in their fields of view. Additionally oralternatively, some assistant input devices 106 may be equipped withother types of light-based presence sensors 105, such as passiveinfrared (“PIR”) sensors that measure infrared (“IR”) light radiatingfrom objects within their fields of view. Additionally or alternatively,some assistant input devices 106 may be equipped with presence sensors105 that detect acoustic (or pressure) waves, such as one or moremicrophones. Moreover, in addition to the assistant input devices 106,one or more of the assistant non-input devices 185 can additionally oralternatively include respective presence sensors 105 described herein,and signals from such sensors can additionally be utilized by theautomated assistant 120 in determining whether and/or how to satisfyspoken utterances according to implementations described herein.

Additionally or alternatively, in some implementations, the presencesensors 105 may be configured to detect other phenomena associated withhuman presence or device presence in the ecosystem. For example, in someembodiments, a given one of the assistant devices may be equipped with apresence sensor 105 that detects various types of wireless signals(e.g., waves such as radio, ultrasonic, electromagnetic, etc.) emittedby, for instance, other assistant devices carried/operated by aparticular user (e.g., a mobile device, a wearable computing device,etc.) and/or other assistant devices in the ecosystem (e.g., describedwith respect to the event detection engine 130). For example, some ofthe assistant devices may be configured to emit waves that areimperceptible to humans, such as ultrasonic waves or infrared waves,that may be detected by one or more of the assistant input devices 106(e.g., via ultrasonic/infrared receivers such as ultrasonic-capablemicrophones).

Additionally or alternatively, various assistant devices may emit othertypes of human-imperceptible waves, such as radio waves (e.g., Wi-Fi,Bluetooth, cellular etc.) that may be detected by other assistantdevices carried/operated by a particular user (e.g., a mobile device, awearable computing device, etc.) and used to determine an operatinguser's particular location. In some implementations, Wi-Fi triangulationmay be used to detect a person's location, e.g., based on Wi-Fi signalsto/from the assistant device. In other implementations, other wirelesssignal characteristics, such as time-of-flight, signal strength, etc.,may be used by various assistant devices, alone or collectively, todetermine a particular person's location based on signals emitted by theother assistant devices carried/operated by the particular user.

Additionally or alternatively, in some implementations, one or more ofthe assistant input devices 106 may perform voice recognition torecognize a user from their voice. For example, some instances of theautomated assistant 120 may be configured to match a voice to a user'sprofile, e.g., for purposes of providing/restricting access to variousresources. In some implementations, movement of the speaker may then bedetermined, e.g., by the presence sensors 105 of the assistant devices.In some implementations, based on such detected movement, a location ofthe user may be predicted, and this location may be assumed to be theuser's location when any content is caused to be rendered at theassistant devices based at least in part on proximity of those assistantdevice(s) to the user's location. In some implementations, the user maysimply be assumed to be in the last location at which he or she engagedwith the automated assistant 120, especially if not much time has passedsince the last engagement.

Each of the assistant input devices 106 further includes respective userinterface component(s) 107 _(1-N) (also referred to herein simply as“user interface component(s) 107”), which can each include one or moreuser interface input devices (e.g., microphone, touchscreen, keyboard)and/or one or more user interface output devices (e.g., display,speaker, projector). As one example, user interface components 107 ₁ ofassistant input device 106 ₁ can include only speaker(s) andmicrophone(s), whereas user interface components 107 _(N) of assistantinput device 106 _(N) can include speaker(s), a touchscreen, andmicrophone(s). Additionally or alternatively, in some implementations,the assistant non-input devices 185 may include one or more userinterface input devices and/or one or more user interface output devicesof the user interface component(s) 107, but the user input devices (ifany) for the assistant non-input devices 185 may not allow the user todirectly interact with the automated assistant 120.

Each of the assistant input devices 106 and/or any other computingdevice(s) operating one or more of the cloud-based automated assistantcomponents 119 may include one or more memories for storage of data andsoftware applications, one or more processors for accessing data andexecuting applications, and other components that facilitatecommunication over a network. The operations performed by one or more ofthe assistant input devices 106 and/or by the automated assistant 120may be distributed across multiple computer systems. The automatedassistant 120 may be implemented as, for example, computer programsrunning on one or more computers in one or more locations that arecoupled to each other through a network (e.g., any of the networks 110of FIG. 1 ).

As noted above, in various implementations, each of the assistant inputdevices 106 may operate a respective automated assistant client 118. Invarious embodiments, each automated assistant client 118 may include arespective speech capture/text-to-speech (TTS)/speech-to-text (STT)module 114 _(1-N) (also referred to herein simply as “speechcapture/TTS/STT module 114”). In other implementations, one or moreaspects of the respective speech capture/TTS/STT module 114 may beimplemented separately from the respective automated assistant client118.

Each respective speech capture/TTS/STT module 114 may be configured toperform one or more functions including, for example: capture a user'sspeech (speech capture, e.g., via respective microphone(s) (which insome cases may comprise the presence sensor 105)); convert that capturedaudio to text and/or to other representations or embeddings (STT) usingspeech recognition model(s) stored in the ML model(s) database 192;and/or convert text to speech (TTS) using speech synthesis model(s)stored in the ML model(s) database 192. Instance(s) of these model(s)may be stored locally at each of the respective assistant input devices106 and/or accessible by the assistant input devices (e.g., over thenetworks 110 of FIG. 1 ). In some implementations, because one or moreof the assistant input devices 106 may be relatively constrained interms of computing resources (e.g., processor cycles, memory, battery,etc.), the respective speech capture/TTS/STT module 114 that is local toeach of the assistant input devices 106 may be configured to convert afinite number of different spoken phrases to text (or to other forms,such as lower dimensionality embeddings) using the speech recognitionmodel(s). Other speech input may be sent to one or more of thecloud-based automated assistant components 119, which may include acloud-based TTS module 116 and/or a cloud-based STT module 117.

Cloud-based STT module 117 may be configured to leverage the virtuallylimitless resources of the cloud to convert audio data captured byspeech capture/TTS/STT module 114 into text (which may then be providedto natural language processor module 122) using speech recognitionmodel(s) stored in the ML model(s) database 192. Cloud-based TTS module116 may be configured to leverage the virtually limitless resources ofthe cloud to convert textual data (e.g., text formulated by automatedassistant 120) into computer-generated speech output using speechsynthesis model(s) stored in the ML model(s) database 192. In someimplementations, the cloud-based TTS module 116 may provide thecomputer-generated speech output to one or more of the assistant devicesto be output directly, e.g., using respective speaker(s) of therespective assistant devices. In other implementations, textual data(e.g., a client device notification included in a command) generated bythe automated assistant 120 using the cloud-based TTS module 116 may beprovided to speech capture/TTS/STT module 114 of the respectiveassistant devices, which may then locally convert the textual data intocomputer-generated speech using the speech synthesis model(s), and causethe computer-generated speech to be rendered via local speaker(s) of therespective assistant devices.

The automated assistant 120 (and in particular, the one or morecloud-based automated assistant components 119) may include a naturallanguage processing (NLP) module 122, the aforementioned cloud-based TTSmodule 116, the aforementioned cloud-based STT module 117, and othercomponents, some of which are described in more detail below. In someimplementations, one or more of the engines and/or modules of automatedassistant 120 may be omitted, combined, and/or implemented in acomponent that is separate from automated assistant 120. An instance ofthe NLP module 122 may additionally or alternatively be implementedlocally at the assistant input devices 106.

In some implementations, the automated assistant 120 generatesresponsive content in response to various inputs generated by a user ofone of the assistant input devices 106 during a human-to-computer dialogsession with the automated assistant 120. The automated assistant 120may provide the responsive content (e.g., over one or more of thenetworks 110 of FIG. 1 when separate from the assistant devices) forpresentation to the user as part of the dialog session via the assistantinput devices 106 and/or the assistant non-input devices 185. Forexample, the automated assistant 120 may generate responsive content inresponse to free-form natural language input provided via one of theassistant input devices 106. As used herein, free-form input is inputthat is formulated by a user and that is not constrained to a group ofoptions presented for selection by the user.

The NLP module 122 of the automated assistant 120 processes naturallanguage input generated by users via the assistant input devices 106and may generate annotated output for use by one or more othercomponents of the automated assistant 120, the assistant input devices106, and/or the assistant non-input devices 185. For example, the NLPmodule 122 may process natural language free-form input that isgenerated by a user via one or more respective user interface inputdevices of the assistant input devices 106. The annotated outputgenerated based on processing the natural language free-form input mayinclude one or more annotations of the natural language input andoptionally one or more (e.g., all) of the terms of the natural languageinput.

In some implementations, the NLP module 122 is configured to identifyand annotate various types of grammatical information in naturallanguage input. For example, the NLP module 122 may include a part ofspeech tagger configured to annotate terms with their grammatical roles.In some implementations, the NLP module 122 may additionally and/oralternatively include an entity tagger (not depicted) configured toannotate entity references in one or more segments such as references topeople (including, for instance, literary characters, celebrities,public figures, etc.), organizations, locations (real and imaginary),and so forth. In some implementations, data about entities may be storedin one or more databases, such as in a knowledge graph (not depicted).In some implementations, the knowledge graph may include nodes thatrepresent known entities (and in some cases, entity attributes), as wellas edges that connect the nodes and represent relationships between theentities.

The entity tagger of the NLP module 122 may annotate references to anentity at a high level of granularity (e.g., to enable identification ofall references to an entity class such as people) and/or a lower levelof granularity (e.g., to enable identification of all references to aparticular entity such as a particular person). The entity tagger mayrely on content of the natural language input to resolve a particularentity and/or may optionally communicate with a knowledge graph or otherentity database to resolve a particular entity.

In some implementations, the NLP module 122 may additionally and/oralternatively include a coreference resolver (not depicted) configuredto group, or “cluster,” references to the same entity based on one ormore contextual cues. For example, the coreference resolver may beutilized to resolve the term “it” to “front door lock” in the naturallanguage input “lock it”, based on “front door lock” being mentioned ina client device notification rendered immediately prior to receiving thenatural language input “lock it”.

In some implementations, one or more components of the NLP module 122may rely on annotations from one or more other components of the NLPmodule 122. For example, in some implementations the named entity taggermay rely on annotations from the coreference resolver and/or dependencyparser in annotating all mentions to a particular entity. Also, forexample, in some implementations the coreference resolver may rely onannotations from the dependency parser in clustering references to thesame entity. In some implementations, in processing a particular naturallanguage input, one or more components of the NLP module 122 may userelated data outside of the particular natural language input todetermine one or more annotations—such as an assistant input devicenotification rendered immediately prior to receiving the naturallanguage input on which the assistant input device notification isbased.

Although FIG. 1 is depicted as having a particular configuration ofcomponents implemented by the assistant devices and/or server(s), and isdepicted having the assistant devices and/or server(s) communicatingover particular networks, it should be understood that is for the sakeof example and is not meant to be limiting. For example, the assistantinput devices 106 and the assistant non-input devices may be directlycommunicatively coupled with each other over one or more networks (notdepicted). As another example, operations of the one or more cloud-basedautomated assistant components 119 can be implemented locally at one ormore of the assistant input devices 106 and/or one or more of theassistant non-input devices. As yet another example, instance(s) ofvarious ML models stored in the ML model(s) database 192 may be storedlocally at the assistant devices, and/or instance(s) of a devicetopology representation of an ecosystem stored in the device topologydatabase 193 may be stored locally at the assistant input devices.Further, in implementations where data (e.g., device activity, audiodata or recognized text corresponding thereto, device topologyrepresentations, and/or any other data described herein) is transmittedover any of the one or more networks 110 of FIG. 1 , the data can beencrypted, filtered, or otherwise protected in any manner to ensureprivacy of user(s).

By using the techniques described herein to infer and assign semanticlabels to the assistant devices in the ecosystem, the device topologyrepresentation of the ecosystem can be maintained up-to-date. Further,the semantic labels that are assigned to the assistant devices aresemantically meaningful for the user in that the semantic labelsassigned to the respective assistant devices are selected based on theusage of the respective assistant devices and/or respective portions ofthe ecosystem in which the respective assistant devices are located.Accordingly, when spoken utterances are received at one or more of theassistant devices in the ecosystem, an automated assistant can moreaccurately select one or more of the assistant devices that are bestsuited for satisfying the spoken utterance. As a result, a quantity ofuser inputs that are received by the one or more of the assistantdevices in the ecosystem can be reduced because the user associated withthe ecosystem need not specify particular devices to satisfy the spokenutterance or repeat the spoken utterance if an incorrect device isselected to satisfy the spoken utterance, thereby conservingcomputational resources at the assistant devices and/or networkresources by reducing network traffic. Further, the quantity of userinputs that are received by the one or more of the assistant devices inthe ecosystem can be reduced because the user need not manually updatethe device topology representation via a software application associatedwith the ecosystem when an assistant device is newly added to theecosystem or moved locations within the ecosystem.

Additional description of various components of FIG. 1 is now providedwith reference to FIGS. 2A and 2B. A home floorplan is depicted in FIGS.2A and 2B. The depicted floorplan includes a plurality of rooms,250-262. A plurality of assistant input devices 106 ₁₋₅ are deployedthroughout at least some of the rooms. Each of the assistant inputdevices 106 ₁₋₅ may implement an instance of automated assistant client118 configured with selected aspects of the present disclosure and mayinclude one or more input devices, such as microphone(s) that arecapable of capturing utterances spoken by a person nearby. For example,a first assistant input device 106 ₁ taking the form of an interactivestandalone speaker and display device (e.g., display screen, projector,etc.) is deployed in room 250 in FIG. 2A, which in this example is akitchen, and in room 256 in FIG. 2B, which in this example is a livingroom. A second assistant input device 106 ₂ taking the form of aso-called “smart” television (e.g., a networked television with one ormore processors that implement a respective instance of the automatedassistant client 118) is deployed in room 252, which in this example isa den. A third assistant input device 106 ₃ taking the form of aninteractive standalone speaker without a display is deployed in room254, which in this example is a bedroom. A fourth assistant input device106 ₄ taking the form of another interactive standalone speaker isdeployed in room 256, which in this example is a living room. A fifthassistant input device 106 ₅ also taking the form of a smart televisionis also deployed in room 250, which in this example is a kitchen.

While not depicted in FIGS. 2A and 2B, the plurality of assistant inputdevices 106 ₁₋₄ may be communicatively coupled with each other and/orother resources (e.g., the Internet) via one or more wired or wirelessWANs and/or LANs (e.g., via the networks 110 of FIG. 1 ). Additionally,other assistant input devices—particularly mobile devices such as smartphones, tablets, laptops, wearable devices, etc.—may also be present,e.g., carried by one or more persons in the home and may or may not alsobe connected to the same WANs and/or LANs. It should be understood thatthe configuration of assistant input devices depicted in FIGS. 2A and 2Bis just one example; more or fewer and/or different assistant inputdevices 106 may be deployed across any number of other rooms and/orareas of the home, and/or in locations other than a residential home(e.g., a business, a hotel, a public place, an airport, a vehicle,and/or other locations or spaces).

Further depicted in FIGS. 2A and 2B are a plurality of assistantnon-input devices 185 ₁₋₅. For example, a first assistant non-inputdevice 185 ₁ taking the form of a smart doorbell is deployed on theexterior of the home near a front door of the home. A second assistantnon-input device 185 ₂ taking the form of a smart lock is deployed onthe exterior of the home on the front door of the home. A thirdassistant non-input device 185 ₃ taking the form of a smart clotheswasher is deployed in room 262, which in this example is a laundry room.A fourth assistant non-input device 185 ₄ taking the form of a dooropen/close sensor is deployed near a rear door in room 262, and detectswhether the rear door is open or closed. A fifth assistant non-inputdevice 185 ₅ taking the form of a smart thermostat is deployed in room252, which in this example is a den.

Each of the assistant non-input devices 185 can communicate (e.g., viathe networks 110 of FIG. 1 ) with a respective assistant non-inputsystem 180 (shown in FIG. 1 ) to provide data to the respectiveassistant non-input system 180 and optionally to be controlled based oncommands provided by the respective assistant non-input system 180. Oneor more of the assistant non-input devices 185 can additionally oralternatively communicate (e.g., via the networks 110 of FIG. 1 )directly with one or more of the assistant input devices 106 to providedata to one or more of the assistant input devices 106 and optionally tobe controlled based on commands provided by one or more of the assistantinput devices 106. It should be understood that the configuration ofassistant non-input devices 185 depicted in FIGS. 2A and 2B is just oneexample; more or fewer and/or different assistant non-input devices 185may be deployed across any number of other rooms and/or areas of thehome, and/or in locations other than a residential home (e.g., abusiness, a hotel, a public place, an airport, a vehicle, and/or otherlocations or spaces).

In various implementations, a semantic label can be assigned to a givenassistant device (e.g., a given one of the assistant input devices 106or the assistant non-input devices 185) based on processing of one ormore device-specific signals that are associated with the respectiveassistant devices. The one or more device-specific signals can bedetected by the given assistant device and/or generated by the givenassistant device. The one or more device-specific signals can include,for example, one or more queries previously received at the givenassistant device (if any), one or more commands previously executed atthe given assistant device (if any), instances of ambient noisepreviously detected at the given assistant device (and optionally onlywhen speech reception was active at the given assistant device), uniqueidentifier(s) (or label(s)) for respective assistant device(s) that arelocationally proximate to the given assistant device, and/or userpreferences of user(s) associated with the ecosystem. Each of the one ormore device-specific signals associated with the given assistant devicecan be processed to classify each of them into one or more semanticcategories from among a plurality of disparate semantic categories.

Further, one or more candidate semantic labels can be generated based onthe one or more device-specific signals. The candidate semantic labelscan be generated using one or more rule(s) (that are optionallyheuristically defined) or machine learning model(s) (e.g., stored in theML model(s) database 192). For example, one or more heuristicallydefined rules may indicate that a candidate semantic label associatedwith each of the semantic categories, into which the one or moredevice-specific signals, should be generated. For instance, assume thedevice-specific signals are classified into a “kitchen” category, a“cooking” category, a “bedroom” category, and a “living room” category.In this example, the candidate semantic labels can include a firstcandidate semantic label of “kitchen assistant device”, a secondcandidate semantic label of “cooking assistant device”, a thirdcandidate semantic label of “bedroom assistant device”, and a fourthsemantic label of “living room assistant device”. As another example,the one or more device-specific signals (or the one or more semanticcategories corresponding thereto) can be processed using a machinelearning model that is trained to generate the candidate semanticlabels. For instance, the machine learning model can be trained based ona plurality of training instances. Each of the training instances caninclude training instance input and corresponding training instanceoutput. The training instance input can include, for example, one ormore device-specific signals and/or one or more semantic categories, andthe corresponding training instance output can include, for example,ground truth output corresponding to the semantic labels that should beassigned based on the training instance input.

Moreover, the semantic label that is assigned to the given assistantdevice can be selected from among the one or more candidate semanticlabels. The semantic label that is to be assigned to the given assistantdevice can be selected from among the one or more candidate semanticlabels based on a confidence level associated with each of the one ormore candidate semantic labels. In some implementations, the semanticlabel that is assigned to the given assistant device can beautomatically assigned to the given assistant device, whereas inadditional or alternative implementations the user associated with theecosystem of FIGS. 2A and 2B may be prompted to select the semanticlabel to be assigned to the given assistant device from among a list ofthe one or more candidate semantic labels (e.g., as described withrespect to FIG. 3 ). In some additional or alternative implementations,the semantic label can be automatically assigned to the given assistantdevice if the given semantic label is unique (relative to the otherassistant devices that are locationally proximate to the given assistantdevice in the ecosystem).

In some versions of those implementations, the given assistant device,to which the semantic label is to be assigned, can be identified inresponse to determining that the given assistant device is newly addedto the ecosystem (e.g., via the event detection engine 130 and/or thedevice identification engine 140 of FIG. 1 ) For example, and referringspecifically to FIG. 2A, assume that the first assistant input device106 ₁ taking the form of the interactive standalone speaker and deviceis newly deployed in room 250, which in this example is the kitchen.With respect to the one or more device-specific signals that areassociated with the first assistant input device 106 ₁ in FIG. 2A,assume that no previous queries or commands have been received at thefirst assistant input device 106 ₁ or executed by the first assistantinput device 106 ₁ (aside from configuring the first assistant inputdevice 106 ₁) since the first assistant input device 106 ₁ has beennewly added to the ecosystem, assume several instances of ambient noisehave been captured while the first assistant input device 106 ₁ is beingconfigured by the user of the ecosystem (e.g., when speech reception isactive as the user provides spoken utterances including, for example, aname, test utterances to establish a speech embedding for the user,etc.), assume respective unique identifiers (or labels) associated withthe fifth assistant input device 106 ₅, taking the form of the smarttelevision in the room 250 (e.g. “kitchen TV”), and the fifth assistantnon-input device 185 ₅, taking the form of the smart thermostat in theroom 252 (e.g., “thermostat”) are detected at the first assistant inputdevice 106 ₁, and assume user preferences of the user associated withthe ecosystem are known.

In this example, the instances of the ambient noise (if any) can beprocessed, using ambient noise detection model(s), to classify theambient noise into one or more semantic categories. For instance, assumeinstances of the ambient noise capture water dripping in the sink inroom 250, a microwave or oven sounding in room 250, food sizzling on askillet on a stovetop in room 250, etc. These instances of ambient noisecan be classified into a “kitchen” semantic category, a “cooking”semantic category, and/or other semantic categories related to noisesthat are typically encountered in a kitchen. Additionally oralternatively, the ambient noise may capture a movie, a television show,or an advertisement being visually and/or audibly rendered via the fifthassistant input device 106 ₅, taking the form of the smart television inthe room 250. These instances of ambient noise can be classified into a“television” semantic category, a “movie” semantic category, and/orother semantic categories related to noises that are typicallyencountered from smart televisions. Additionally or alternatively, theunique identifier(s) (or label(s)) of the fifth assistant input device106 ₅ (e.g., the “kitchen TV”) and the fifth assistant non-input device185 ₅ (the “thermostat”) can be processed to generate one or more of thesemantic labels. These unique identifier(s) (or label(s)) can beclassified into a “kitchen” semantic category, a “smart device” semanticcategory, and/or other semantic categories related to the assistantdevices that are locationally proximate to the first assistant inputdevice 106 ₁ in the ecosystem of FIG. 2A. Additionally or alternatively,assume the user preferences indicate that the user is interested incooking and a fictitious chef named Johnny Flay. These user preferencescan be identified as being related to the first assistant input device106 ₁ based on one or more of the other device-specific signals beingclassified into the “cooking” category or “kitchen” category, and theuser preferences of cooking and Johnny Flay also being classified intothe “cooking” category or “kitchen” category. As a result, the candidatesemantic labels in this example can include “kitchen speaker device”,“cooking speaker device”, “television speaker device”, “movie speakerdevice”, “Johnny Flay device”, and/or other candidate semantic labelsbased on the one or more device-specific labels that are associated withthe first assistant input device 106 ₁. Further, in this example, agiven semantic label, from among the semantic labels, can beautomatically assigned to the first assistant input device 106 ₁, or theuser associated with the ecosystem can be prompted to select one or moreof the candidate semantic labels to assign the given semantic label tothe first assistant input device 106 ₁ (e.g., while the first assistantinput device 106 ₁ is being configured).

In some additional or alternative implementation, the given assistantdevice, to which the semantic label is to be assigned, can be identifiedperiodically (e.g., every week, every month, every six months, and/orany other period of time via the event detection engine 130 and/or thedevice identification engine 140 of FIG. 1 ) For example, and referringspecifically to FIG. 2A, assume that the first assistant input device106 ₁ taking the form of the interactive standalone speaker and displaydevice has been deployed in room 250, which in this example is thekitchen, for six months. With respect to the one or more device-specificsignals that are associated with the first assistant input device 106 ₁in FIG. 2A, assume that previous queries or commands have been receivedat the first assistant input device 106 ₁ or executed by the firstassistant input device 106 ₁, assume instances of ambient noise havebeen captured while the first assistant input device 106 ₁, and assumerespective unique identifiers (or labels) associated with the fifthassistant input device 106 ₅, taking the form of the smart television inthe room 250 (e.g. “kitchen TV”), and the fifth assistant non-inputdevice 185 ₅, taking the form of the smart thermostat in the room 252(e.g., “thermostat”) are still detected at the first assistant inputdevice 106 ₁.

In this example, the queries and commands (or text correspondingthereto) can be processed, using semantic classifier(s), to classify thequeries and commands into one or more semantic categories. For instance,the queries and commands previously received at the first assistantinput device 106 ₁ can include queries related to requesting cookingrecipes, commands related to setting timers, commands related tocontrolling any smart devices in the kitchen, and/or other queries orcommands. These instances of queries and commands can be classified intoa “cooking” semantic category, a “controlling smart device” category,and/or other semantic categories based on the queries and commands thatare received at the first assistant input device 106 ₁. The candidatesemantic labels can additionally or alternatively be determined based onthe instances of the ambient noise and/or the unique identifier(s) (orlabel(s)) that are locationally proximate to the first assistant inputdevice 106 ₁ as described above. As a result, the candidate semanticlabels in this example can include “kitchen device”, “timer device”,“thermostat display device”, “cooking display device”, “televisiondevice”, “movie device”, “Johnny Flay recipe device”, and/or othercandidate semantic labels based on the one or more device-specificlabels that are associated with the first assistant input device 106 ₁.Further, in this example, a given semantic label, from among thesemantic labels, can be automatically assigned to the first assistantinput device 106 ₁, or the user associated with the ecosystem can beprompted to select one or more of the candidate semantic labels toassign the given semantic label to the first assistant input device 106₁ (e.g., while the first assistant input device 106 ₁ is beingconfigured).

In some additional or alternative implementations, the given assistantdevice, to which the semantic label is to be assigned, can be identifiedin response to determining that the given assistant device has movedlocations within the ecosystem (e.g., via the event detection engine 130and/or the device identification engine 140 of FIG. 1 ) For example, andreferring specifically now to FIG. 2B, assume that the first assistantinput device 106 ₁ taking the form of the interactive standalone speakerand display device is moved from room 250, which in this example is thekitchen, to room 256, which in this example is the living room. Withrespect to the one or more device-specific signals that are associatedwith the first assistant input device 106 ₁ in FIG. 2B, assume thatprevious queries or commands have been received at the first assistantinput device 106 ₁ or executed by the first assistant input device 106₁, assume several instances of ambient noise have been captured, andassume respective unique identifiers (or labels) associated with thefourth assistant input device 106 ₄, taking the form of anotherinteractive standalone speaker in the room 256 (e.g. “living roomspeaker device”) is detected at the first assistant input device 106 ₁,and assume user preferences of the user associated with the ecosystemare known. In this example, the one or more device-specific signals maybe limited to those that are generated or received subsequent to thefirst assistant input device 106 ₁ being moved locations within theecosystem (less the user preferences).

In this example, the queries and commands (or text correspondingthereto) can be processed, using semantic classifier(s), to classify thequeries and commands into one or more semantic categories. For instance,the queries and commands previously received at the first assistantinput device 106 ₁ can include queries related to requesting weather ortraffic information, commands related to planning a vacation, and/orother queries or commands. These instances of queries and commands canbe classified into an “information” semantic category (or moreparticularly a “weather information” category and a “trafficinformation” category), a “planning” category, and/or other semanticcategories based on the queries and commands that are received at thefirst assistant input device 106 ₁. Additionally or alternatively, theinstances of the ambient noise can be processed, using ambient noisedetection model(s), to classify the ambient noise into one or moresemantic categories. For instance, the ambient noise may capture musicor a podcast being audibly rendered by the fourth assistant input device106 ₄, humans conversing on the couch depicted in room 256, a movie ortelevision show being audibly rendered by a computing device in theecosystem, etc. These instances of ambient noise can be classified intoa “music” semantic category, a “conversation” semantic category, a“movies” semantic category, a “television show” semantic category,and/or other semantic categories related to noises that are typicallyencountered in a kitchen. Additionally or alternatively, the uniqueidentifier(s) (or label(s)) of the fourth assistant input device 106 ₄(e.g., the “living room speaker device”) can be processed to generateone or more of the semantic labels. This unique identifier(s) (orlabel(s)) can be classified, for example, into a “living room” semanticcategory and/or other semantic categories related to the assistantdevices that are locationally proximate to the first assistant inputdevice 106 ₁ in the ecosystem of FIG. 2B. Additionally or alternatively,assume the user preferences indicate that the user is interested incooking and a fictitious movie titled Vehicles and a specific characterin the movie named Thunder McKing. These user preferences can beidentified as being related to the first assistant input device 106 ₁based on one or more of the other device-specific signals beingclassified into the “movie”, and the user preferences of the movieVehicles and Thunder McKing also being classified into the “movies”category. As a result, the candidate semantic labels in this example caninclude “living room device”, “planning device”, “Vehicles device”,“Thunder McKing device”, and/or other candidate semantic labels based onthe one or more device-specific labels that are associated with thefirst assistant input device 106 ₁. Further, in this example, a givensemantic label, from among the semantic labels, can be automaticallyassigned to the first assistant input device 106 ₁, or the userassociated with the ecosystem can be prompted to select one or more ofthe candidate semantic labels to assign the given semantic label to thefirst assistant input device 106 ₁.

In some additional or alternative implementations, the given assistantdevice, to which the semantic label is to be assigned, can be identifiedin response to determining that the portion of the ecosystem in whichthe given assistant device is located has been repurposed (e.g., via theevent detection engine 130 and/or the device identification engine 140of FIG. 1 ) For example, and referring specifically now to FIG. 2B,assume that the first assistant input device 1061 taking the form of theinteractive standalone speaker and display device is located in room256, which in this example is the living room, but the living room isrepurposed into a bedroom. With respect to the one or moredevice-specific signals that are associated with the first assistantinput device 1061 in FIG. 2B, assume that previous queries or commandshave been received at the first assistant input device 1061 or executedby the first assistant input device 1061, assume several instances ofambient noise have been captured, and assume respective uniqueidentifiers (or labels) associated with the fourth assistant inputdevice 1064, taking the form of another interactive standalone speakerin the room 256 (e.g. “living room speaker device”) is detected at thefirst assistant input device 1061. In this example, the one or moredevice-specific signals may be limited to those that are generated orreceived subsequent to room 256 being repurposed.

In this example, the queries and commands (or text correspondingthereto) can be processed, using semantic classifier(s), to classify thequeries and commands into one or more semantic categories. For instance,the queries and commands previously received at the first assistantinput device 1061 can include commands related to setting alarms,commands related to a good morning or good night routine, and/or otherqueries or commands. These instances of commands can be classified intoan “alarm” semantic category, a “routine” category (or more particularlya “morning routine” category or a “night routine” category, and/or othersemantic categories based on the queries and commands that are receivedat the first assistant input device 1061. Additionally or alternatively,the instances of the ambient noise can be processed, using ambient noisedetection model(s), to classify the ambient noise into one or moresemantic categories. For instance, the ambient noise may capture snoringof one or more users, humans conversing, etc. These instances of ambientnoise can be classified into a “bedroom” semantic category, a“conversation” semantic category, and/or other semantic categoriesrelated to noises that are typically encountered in a bedroom.Additionally or alternatively, the unique identifier(s) (or label(s)) ofthe fourth assistant input device 1064 (e.g., the “living room speakerdevice”) can be processed to generate one or more of the semanticlabels. This unique identifier(s) (or label(s)) can be classified, forexample, into a “living room” semantic category and/or other semanticcategories related to the assistant devices that are locationallyproximate to the first assistant input device 1061 in the ecosystem ofFIG. 2B. As a result, the candidate semantic labels in this example caninclude “living room display device”, “bedroom display device”, and/orother candidate semantic labels based on the one or more device-specificlabels that are associated with the first assistant input device 1061.Further, in this example, a given semantic label, from among thesemantic labels, can be automatically assigned to the first assistantinput device 1061, or the user associated with the ecosystem can beprompted to select one or more of the candidate semantic labels toassign the given semantic label to the first assistant input device1061. Notably, in this example, the system may determine the givensemantic label corresponds to “bedroom display device”, even though theunique identifier(s) (or label(s)) for the fourth assistant input device1064 correspond to a “living room” category, since the usage of thefirst assistant input device 1061 indicates that it is located in abedroom.

Although FIGS. 2A and 2B are described herein with respect to the givenassistant device, to which the semantic label is assigned, being anassistant input device (e.g., the first assistant input device 106 ₁),it should be understood that is for the sake of example and is not meantto be limiting. For example, the techniques described herein can also beutilized to assign respective semantic label to assistant non-inputdevices 185. For instance, assume a smart light (presumably an assistantnon-input device without any microphone(s)) is newly added to room 252,which in this example is the bedroom. In this example, a uniqueidentifier or label associated with the third assistant input device 106₃ taking the form of an interactive standalone speaker without a display(e.g., “bedroom speaker device”) can be utilize to infer a semanticlabel of “bedroom smart light” for the newly added smart light using thetechniques described here. Further, assume the smart light is moved fromroom 254 to room 262, which in this example is a laundry room. In thisexample, a unique identifier or label associated with the thirdassistant non-input device 185 ₃ taking the form of a smart clotheswasher can be utilized to infer a semantic label of “laundry room smartlight” for the recently moved smart light using the techniques describedhere.

Turning now to FIG. 3 , a flowchart illustrating an example method 300of assigning a given semantic label to a given assistant device in anecosystem is depicted. For convenience, the operations of the method 300is described with reference to a system that performs the operations.The system of the method 300 includes one or more processors and/orother component(s) of a computing device. For example, the system of themethod 300 can be implemented by an assistant input device 106 of FIG.1, 2A, or 2B, an assistant non-input device 185 of FIG. 1, 2A, or 2B,computing device 510 of FIG. 5 , one or more servers, other computingdevices, and/or any combination thereof. Moreover, while operations ofthe method 300 are shown in a particular order, this is not meant to belimiting. One or more operations may be reordered, omitted, and/oradded.

At block 352, the system identifies, from among a plurality of assistantdevices in an ecosystem, a given assistant device. The given assistantdevice can be an assistant input device (e.g., one of the assistantinput devices 106 of FIG. 1 ) or an assistant non-input device (e.g.,one of the assistant non-input devices 185 of FIG. 1 ). In someimplementations, the given assistant device can be identified inresponse to determining that is newly added to the ecosystem, whereas inother implementations the given assistant device can be identified inresponse to determining that has moved locations within the ecosystem(e.g., described with respect to the event detection engine 130 of FIG.1 ). In some additional or alternative implementations, the givenassistant device can be identified on a periodic basis (e.g., once amonth, once every six months, once a year and so on).

At block 354, the system obtains device-specific signal(s) that areassociated with the given assistant device. The device-specificsignal(s) can be detected by the given assistant device and/or generatedby the given assistant device. In some implementations, block 354 caninclude one or more of optional sub-block 354A, sub-block 354B,sub-block 354C, or sub-block 354D. If included, at sub-block 354A, thesystem obtains a plurality of queries or commands previously received atthe given assistant device (if any). If included, at sub-block 354B, thesystem additionally or alternatively obtains instances of ambient noisepreviously detected at the given assistant device (and optionally onlywhen speech reception was active at the given assistant device (e.g.,subsequent to receiving a particular word or phrase that invokes anautomated assistant) or via a digital signal processor (DSP) when speechreception is not active). In some implementations, the ambient noiseobtained is restricted to ambient noise that is detected when speechreception is active at the given assistant device. If included, atsub-block 354C, the system additionally or alternatively obtains uniqueidentifier(s) (or label(s)) for respective assistant device(s) that arelocationally proximate to the given assistant device (e.g., determinedusing the device identification engine 140 of FIG. 1 ). If included, atsub-block 354D, the system additionally or alternatively obtains userpreferences of a user associated with the ecosystem.

At block 356, the system processes the device-specific signal(s) togenerate candidate semantic label(s) for the given assistant device. Inimplementations where the one or more device-specific signals includeplurality of queries or commands previously received at the givenassistant device, the plurality of queries or commands (or textcorresponding thereto) can be processed, using semantic classifier(s),to classify each of the plurality of queries of commands into one ormore disparate semantic categories. For example, queries that arerelated cooking recipes and commands that are related to controlling asmart oven or a smart coffee maker in a kitchen can be classified into acooking category or a kitchen category, queries that are related toweather can be classified into a weather category, commands that arerelated to controlling lights can be classified into a lights category,and so on. In implementations where the one or more device-specificsignals additionally or alternatively include instances of ambient noisedetected at the given assistant device, the instances of the ambientnoise can be processed, using ambient noise detection model(s), toclassify each of the instances of the ambient noise into one or moredisparate semantic categories. For example, if an instance of theambient noise is determined to correspond to a microwave sounding, foodsizzling on a skillet, a food processor processing food, etc., then theinstance of the ambient noise can be classified into a cooking category.As another example, if an instance of the ambient noise is determined tocorrespond to a saw buzzing, a hammer hammering, etc., then the instanceof the ambient noise can be classified into a garage category and aworkshop category. In implementations where the one or moredevice-specific signals additionally or alternatively include uniqueidentifier(s) (or label(s)) for respective assistant device(s) that arelocationally proximate to the given assistant device, the uniqueidentifier(s) (or label(s)) for the respective assistant device(s) canbe classified into one or more disparate semantic categories. Forexample, if the unique identifier(s) (or label(s)) for the respectiveassistant device(s) correspond to “coffee maker”, “oven”, “microwave”,then the unique identifier(s) can be classified into a kitchen categoryor a cooking category. As another example, if the unique identifier(s)(or label(s)) for the respective assistant device(s) correspond to“bedroom lights” and “bedroom casting device”, then the uniqueidentifier(s) can be classified into a bedroom category. Inimplementations where the one or more device-specific signalsadditionally or alternatively include user preferences of a userassociated with the ecosystem, the user preferences can be classifiedinto one or more disparate semantic categories. For example, if the userpreferences indicate that the user is interested in cooking, cookingshows, specific chefs, and/or other cooking-related interests, then theuser preferences can be classified into a kitchen category, a cookingcategory, or a category associated with the specific chef.

The candidate semantic label(s) can be generated based on the processingof the one or more device-specific signals. For example, assume the oneor more device-specific signals indicate that the given assistant deviceis located in a kitchen or living room in a primary house of the userassociated with the ecosystem. Further assume that the given assistantdevice is an interactive standalone speaker device having a display. Inthis example, a first candidate semantic label of “kitchen displaydevice” and a second candidate semantic label of “living room displaydevice” can be generated. Generating the candidate semantic label(s)based on the one or more device-specific signals is described in greaterdetail herein (e.g., with respect to FIGS. 2A and 2B).

At block 358, the system determines whether to prompt a user that isassociated with the ecosystem to solicit a selection of a given semanticlabel from among the candidate semantic label(s). The system candetermine whether to prompt the user to solicit the selection of thegiven semantic label based on whether respective confidence level(s)associated with the candidate semantic label(s) satisfy a thresholdconfidence level. The respective confidence level(s) can be determinedbased on, for example, a quantity of the one or more device-specificsignals that are classified into a given semantic category. For example,assume that the given assistant device identified at block 352 is aninteractive standalone speaker that implements an instance of anautomated assistant. Further assume that each of the one or moredevice-specific signals indicate that the interactive standalone speakeris located in a bedroom. For instance, based on prior queries orcommands received at the interactive standalone speaker being associatedwith setting alarms or good night routine, based on instances of ambientnoise that include snoring, and/or based on other assistant deviceshaving unique identifier(s) (or label(s)) of “bedroom lights” and“bedroom casting device”. In this example, the system may be highlyconfident in a semantic label of “bedroom speaker device” since theinteractive standalone speaker is associated with a bedroom in a primaryhouse of the user associated with the ecosystem. However, if some of thequeries or commands received at the interactive standalone speaker areassociated with cooking recipes, then the system may not be as confidentin the semantic label of “bedroom speaker device”.

If, at an iteration of block 358, the system determines not to promptthe user to solicit the selection of the given semantic label, then thesystem may proceed to block 360. At block 360, the system automaticallyassigns, in a device topology representation in the ecosystem, a givensemantic label, from among the candidate semantic label(s), to the givenassistant device. The device topology representation of the ecosystemcan be stored locally at one or more of the assistant devices in theecosystem and/or at a remote system in communication with one or more ofthe assistant devices in the ecosystem. In some implementations, thegiven semantic label may be the only semantic label associated with thegiven assistant device (and optionally supplant other uniqueidentifier(s) or label(s) assigned to the given assistant device),whereas in other implementations the given semantic label can be addedto a list of unique identifier(s) or label(s) assigned to the givenassistant device. The system may then return to block 352 to identify anadditional given assistant device from among the plurality of assistantdevices in the ecosystem to generate and assign an additional givensemantic label to the additional given assistant device.

If, at an iteration of block 358, the system determines to prompt theuser to solicit the selection of the given semantic label, then thesystem may proceed to block 362. At block 362, the system generates,based on the candidate semantic label(s), a prompt to solicit aselection of a given semantic label from a user of a client device. Atblock 364, the system causes the prompt to be rendered at the clientdevice of the user. The prompt can be rendered visually and/or audiblyat the client device of the user, and can optionally be based oncapabilities of the client device at which the prompt is rendered. Forexample, the prompt may be rendered via a software application that isaccessible at the client device (e.g., a software application that isassociated with the ecosystem or one or more of the assistant devicesincluded in the ecosystem). In this example, if the client deviceincludes a display, then the prompt may be rendered visually via thesoftware application (or a home screen of the client device), and/oraudibly via speaker(s) of the client device. However, if the clientdevice does not include a display, then the prompt may only be renderedaudibly via the speaker(s) of the client device. At block 366, thesystem receives the selection of the given semantic label responsive tothe prompt. The client device of the user can be, for example, the givenassistant identified at block 352 or a distinct client device (e.g., amobile device of the user, or any other assistant device in theecosystem capable of rendering the prompt). For example, assume thesystem generated candidate semantic labels of “bedroom speaker device”and “kitchen speaker device”. In this example, the system can generate aprompt that includes selectable elements associated with both of thesesemantic labels, and request that the user provide input (e.g., touch orspoken) to select one of the candidate semantic labels to assign to thegiven assistant device as the given semantic label to be assigned to thegiven assistant device. At block 368, the system assigns, in a devicetopology representation of the ecosystem, the given semantic label tothe given assistant device in a similar manner described above withrespect to block 360.

Turning now to FIG. 4 , a flowchart illustrating an example method 400of using assigned semantic labels in satisfying a query or commandreceived at assistant device(s) in an ecosystem is depicted. Forconvenience, the operations of the method 400 is described withreference to a system that performs the operations. The system of themethod 400 includes one or more processors and/or other component(s) ofa computing device. For example, the system of the method 400 can beimplemented by an assistant input device 106 of FIG. 1, 2A, or 2B, anassistant non-input device 185 of FIG. 1, 2A, or 2B, computing device510 of FIG. 5 , one or more servers, other computing devices, and/or anycombination thereof. Moreover, while operations of the method 400 areshown in a particular order, this is not meant to be limiting. One ormore operations may be reordered, omitted, and/or added.

At block 452, the system receives, via respective microphone(s) ofrespective assistant device(s) in an ecosystem that includes a pluralityof assistant devices, audio data corresponding to a spoken utterance ofa user. The user may be associated with the ecosystem.

At block 454, the system processes the audio data to identify a semanticproperty of a query or command included in the spoken utterance. Thesemantic property of the query or command may correspond to a linguisticunit, such as a word or phrase, that defines a related field or relatedset of words and/or phrases. In some implementations, the system canprocess the audio data, using speech recognition model(s), to convertthe spoken utterance captured in the audio data into text, and canidentify, using semantic classifier(s), the semantic property based onthe recognized text. In additional or alternative implementations, thesystem can process the audio data, using semantic classifier(s), and candirectly identify the semantic property based on the audio data. Forexample, assume the spoken utterance received at block 452 is “show mechili recipes”. In this example, the spoken utterance (or textcorresponding thereto) can be processed, using semantic classifier(s),to identify a semantic property of “chili”, “food”, “kitchen”, and/or“cooking”. Notably, the semantic property identified at block 454 mayinclude one or more terms or phrases included in the spoken utterance,or may include a given semantic category into which the spoken utteranceis classified.

At block 456, the system determines whether the spoken utterancespecifies a given assistant device to utilize in satisfying the query orcommand included in the spoken utterance. If, at an iteration of block456, the system determines the spoken utterance specifies a givenassistant device to be utilized in satisfying the query or command, thenthe system may proceed to block 466. Block 466 is described below. Forexample, assume the spoken utterance received at block 452 is “show mechili recipes at the kitchen display device”. In this example, thesystem can utilize the “kitchen display device” since the user specifiedthat the “kitchen display device” should be utilized to present “chilirecipes” to the user that provided the spoken utterance. As a result,the system can select the “kitchen display device” to satisfy the spokenutterance. If, at an iteration of block 456, the system determines thespoken utterance does not specify a given assistant device to beutilized in satisfying the query or command, then the system may proceedto block 458. For example, assume the spoken utterance received at block452 is simply “show me chili recipes” without specifying any assistantdevice to satisfy the spoken utterance. In this example, the system candetermine that the spoken utterance does not specify a given assistantdevice to satisfy the spoken utterance. As a result, the system needs todetermine which assistant device(s) in the ecosystem should be utilizedto satisfy the spoken utterance.

At block 458, the system determines whether the semantic propertyidentified at block 454 matches a given semantic label assigned to agiven assistant device from among the plurality of assistant devices.The system can generate an embedding corresponding to one or more termsof the semantic property, and can compare the embedding of the semanticproperty to a plurality of embeddings corresponding to one or morerespective terms of respective semantic labels that are assigned to oneor more of the plurality of assistant devices in the ecosystem. Further,the system can determine whether the embedding of the semantic propertymatches any of the plurality of embeddings of the respective semanticlabels that are assigned to one or more of the plurality of assistantdevices in the ecosystem. For instance, the system can determine whethera distance metric between the embedding of the semantic property andeach of the plurality of embeddings of the respective semantic labelsthat are assigned to one or more of the plurality of assistant devicesin the ecosystem. Further, the system can determine whether the distancemetric satisfies a distance threshold (e.g., to identify an exact matchor a soft match).

If, at an iteration of block 458, the system determines the semanticproperty identified at block 454 matches the given semantic labelassigned to the given assistant device, then the system may proceed toblock 460. At block 460, the system causes a given client device, thatis associated with the given semantic label in a device topologyrepresentation of the ecosystem, to satisfy the query or commandincluded in the spoken utterance. The system may then return to block452 to monitor for additional audio via the respective microphone(s) ofthe plurality of assistant devices in the ecosystem. More particularly,the system can cause the given assistant device to perform one or moreactions to satisfy the utterance. For example assume the spokenutterance received at block 452 is “show me chili recipes” with anidentified semantic property of “chili”, “food”, “kitchen”, and/or“cooking”. Further assume that a semantic label assigned to a givenassistant device is “kitchen display device”. In this example, thesystem can select the given assistant device that is assigned thesemantic label “kitchen display device” even if the spoken utterance wasnot received at this assistant device. Further, the system can cause thegiven assistant device that is assigned the semantic label “kitchendisplay device” to visually render chili recipes in response to thespoken utterance being received by the respective microphone(s) of therespective assistant device(s).

In various implementations, multiple assistant devices in the ecosystemmay be assigned semantic labels that match the semantic propertyidentified based on the spoken utterance. Notably, and although notdepicted in FIG. 4 for the sake of clarity, the system may determinewhether the semantic property identified at block 454 matches a givensemantic label assigned to a given assistant device from among theplurality of assistant devices in selecting the one or more assistantdevices to satisfy the spoken utterance in addition to or in lieu ofusing proximity information (e.g., described above with respect to thequery/command processing engine 170 of FIG. 1 ). Continuing with theabove example, assume that there are multiple assistant devices that areassigned the semantic label “kitchen display device”. In this example,the assistant device, of the multiple assistant devices that areassigned the semantic label “kitchen display device”, that is mostproximate to the user in the ecosystem may be utilized to satisfy thespoken utterance. Moreover, and also not depicted in FIG. 4 for the sakeof clarity, the system may determine whether the semantic propertyidentified at block 454 matches a given semantic label assigned to agiven assistant device from among the plurality of assistant devices inselecting the one or more assistant devices to satisfy the spokenutterance in addition to or in lieu of using device capabilityinformation (e.g., described above with respect to the query/commandprocessing engine 170 of FIG. 1 ). Continuing with the above example,assume that a first assistant device having a display device is assignedthe semantic label “kitchen display device” and that a second assistantdevice that does not have a display device is assigned the semanticlabel “kitchen speaker device”. In this example, the first assistantdevice that is assigned the semantic label “kitchen display device” canbe selected over the second assistant device that is assigned thesemantic label “kitchen speaker device” to satisfy the spoken utterancebecause the spoken utterance specified “show me” chili recipes and thefirst assistant device is capable of displaying chili recipes responsiveto the spoken utterance, whereas the second assistant device is notcapable of displaying the chili recipes.

If, at an iteration of block 458, the system determines the semanticproperty identified at block 454 does not match any semantic labelassigned to any of the assistant devices in the ecosystem, then thesystem may proceed to block 462. At block 462, the system identifies agiven assistant device proximate to the user. For example, the systemmay identify the given assistant device that is most proximate to theuser in the ecosystem (e.g., as described with respect to the presencesensors 105 of FIG. 1 ).

At block 464, the system determines whether the given assistant deviceidentified at block 462 is capable of satisfying the query or command.The capabilities of each of the assistant devices can be stored in thedevice topology representation of the ecosystem and in association withthe respective assistant devices (e.g., as device attributes for therespective assistant devices). If, at an iteration of block 464, thesystem determines that the given assistant device identified at theblock 462 is not capable of satisfying the query or command, then thesystem may return to block 462 to identify an additional given assistantdevice that is also proximate to the user. The system may proceed againto block 464 to determine whether the additional given assistant deviceidentified at the subsequent iteration of block 462 is capable ofsatisfying the query or command. The system may repeat this processuntil an assistant device that is capable of satisfying the query orcommand is identified. For example, assume the assistant deviceidentified at block 462 is a standalone speaker device that lacks adisplay, but a display is required to satisfy the spoken utterance. Inthis example, the system may determine that the assistant devicesidentified at block 462 is not capable of satisfying the spokenutterance at block 464, and may return to block 462 to identify anadditional assistant device at block 462 that is proximate to the user.If, at an iteration of block 464, the system determines that the givenassistant device identified at the block 462 is capable of satisfyingthe query or command, then the system may proceed to block 462.Continuing with the above example, further assume the given assistantdevice identified at the first iteration of block 462 is a standalonespeaker device that includes a display or an additional assistant deviceidentified at an additional iteration of block 462 is a standalonespeaker device that has a display. In this example, the system maydetermine that the assistant devices identified at the subsequentiteration of block 462 is capable of satisfying the spoken utterance atblock 464, and the system may proceed to block 466.

At block 466, the system causes the given assistant device to satisfythe query or command included in the spoken utterance. The system cansatisfy the spoken utterance in a similar manner described above withrespect to block 460. The system may then return to block 452 to monitorfor additional audio via the respective microphone(s) of the pluralityof assistant devices in the ecosystem.

FIG. 5 is a block diagram of an example computing device 510 that mayoptionally be utilized to perform one or more aspects of techniquesdescribed herein. In some implementations, one or more of assistantinput devices, one or more of cloud-based automated assistantcomponents, one or more assistant non-input systems, one or moreassistant non-input devices, and/or other component(s) may comprise oneor more components of the example computing device 510.

Computing device 510 typically includes at least one processor 514 whichcommunicates with a number of peripheral devices via bus subsystem 512.These peripheral devices may include a storage subsystem 524, including,for example, a memory subsystem 525 and a file storage subsystem 526,user interface output devices 520, user interface input devices 522, anda network interface subsystem 516. The input and output devices allowuser interaction with computing device 510. Network interface subsystem516 provides an interface to outside networks and is coupled tocorresponding interface devices in other computing devices.

User interface input devices 522 may include a keyboard, pointingdevices such as a mouse, trackball, touchpad, or graphics tablet, ascanner, a touchscreen incorporated into the display, audio inputdevices such as voice recognition systems, microphones, and/or othertypes of input devices. In general, use of the term “input device” isintended to include all possible types of devices and ways to inputinformation into computing device 510 or onto a communication network.

User interface output devices 520 may include a display subsystem, aprinter, a fax machine, or non-visual displays such as audio outputdevices. The display subsystem may include a cathode ray tube (CRT), aflat-panel device such as a liquid crystal display (LCD), a projectiondevice, or some other mechanism for creating a visible image. Thedisplay subsystem may also provide non-visual display such as via audiooutput devices. In general, use of the term “output device” is intendedto include all possible types of devices and ways to output informationfrom computing device 510 to the user or to another machine or computingdevice.

Storage subsystem 524 stores programming and data constructs thatprovide the functionality of some or all of the modules describedherein. For example, the storage subsystem 524 may include the logic toperform selected aspects of the methods described herein, as well as toimplement various components depicted in FIG. 1 .

These software modules are generally executed by processor 514 alone orin combination with other processors. Memory 525 used in the storagesubsystem 524 can include a number of memories including a main randomaccess memory (RAM) 530 for storage of instructions and data duringprogram execution and a read only memory (ROM) 532 in which fixedinstructions are stored. A file storage subsystem 526 can providepersistent storage for program and data files, and may include a harddisk drive, a floppy disk drive along with associated removable media, aCD-ROM drive, an optical drive, or removable media cartridges. Themodules implementing the functionality of certain implementations may bestored by file storage subsystem 526 in the storage subsystem 524, or inother machines accessible by the processor(s) 514.

Bus subsystem 512 provides a mechanism for letting the variouscomponents and subsystems of computing device 510 communicate with eachother as intended. Although bus subsystem 512 is shown schematically asa single bus, alternative implementations of the bus subsystem may usemultiple busses.

Computing device 510 can be of varying types including a workstation,server, computing cluster, blade server, server farm, or any other dataprocessing system or computing device. Due to the ever-changing natureof computers and networks, the description of computing device 510depicted in FIG. 5 is intended only as a specific example for purposesof illustrating some implementations. Many other configurations ofcomputing device 510 are possible having more or fewer components thanthe computing device depicted in FIG. 5 .

In situations in which certain implementations discussed herein maycollect or use personal information about users (e.g., user dataextracted from other electronic communications, information about auser's social network, a user's location, a user's time, a user'sbiometric information, and a user's activities and demographicinformation, relationships between users, etc.), users are provided withone or more opportunities to control whether information is collected,whether the personal information is stored, whether the personalinformation is used, and how the information is collected about theuser, stored and used. That is, the systems and methods discussed hereincollect, store and/or use user personal information only upon receivingexplicit authorization from the relevant users to do so.

For example, a user is provided with control over whether programs orfeatures collect user information about that particular user or otherusers relevant to the program or feature. Each user for which personalinformation is to be collected is presented with one or more options toallow control over the information collection relevant to that user, toprovide permission or authorization as to whether the information iscollected and as to which portions of the information are to becollected. For example, users can be provided with one or more suchcontrol options over a communication network. In addition, certain datamay be treated in one or more ways before it is stored or used so thatpersonally identifiable information is removed. As one example, a user'sidentity may be treated so that no personally identifiable informationcan be determined. As another example, a user's geographic location maybe generalized to a larger region so that the user's particular locationcannot be determined.

In some implementations, a method implemented by one or more processorsis provided, and includes identifying, from among a plurality ofassistant devices in an ecosystem, a given assistant device; obtainingone or more device-specific signals that are associated with the givenassistant device, the one or more device-specific signals beinggenerated or received by the given assistant device; processing one ormore of the device-specific signals to generate one or more candidatesemantic labels for the given assistant device; selecting, from amongthe one or more candidate semantic labels, a given semantic label forthe given assistant device; and assigning, in a device topologyrepresentation of the ecosystem, the given semantic label to the givenassistant device. Assigning the given semantic label to the givenassistant device includes automatically assigning the given semanticlabel to the given assistant device.

These and other implementations of the technology disclosed herein caninclude one or more of the following features.

In some implementations, one or more of the device-specific signals mayinclude at least device activity associated with the given assistantdevice, and the device activity associated with the given assistantdevice may include a plurality of queries or commands previouslyreceived at the given assistant device. In some versions of thoseimplementations, processing the one or more of the device-specificsignals to generate one or more of the candidate semantic labels for thegiven assistant device may include processing, using a semanticclassifier, the device activity associated with the given assistantdevice to classify each of the plurality of queries or commands into oneor more of a plurality of disparate categories; and generating one ormore of the candidate semantic labels based on the one or more of theplurality disparate categories in which each of the plurality of queriesor commands are classified. In some further versions of thoseimplementations, selecting the given semantic label for the givenassistant device may include selecting the given semantic label for thegiven assistant device based on a quantity of the plurality of queriesor commands classified into a given category, of the plurality disparatecategories, the given semantic label being associated with the givensemantic label.

In some implementations, one or more of the device-specific signals mayinclude at least device activity associated with the given assistantdevice, wherein the device activity associated with the given assistantdevice comprises ambient noise previously detected at the givenassistant device, and the ambient noise may have been previouslydetected at the given assistant device when speech reception was active.In some versions of those implementations, the method may furtherinclude processing, using an ambient noise detection model, the ambientnoise previously detected at the given assistant device to classify theambient noise into one or more of a plurality of disparate categories;and generating one or more of the candidate semantic labels based on theone or more of the plurality disparate categories in which the ambientnoise classified. In some further versions of those implementations,selecting the given semantic label for the given assistant device mayinclude selecting the given semantic label for the given assistantdevice based on the ambient noise classified into a given category, ofthe plurality disparate categories, the given semantic label beingassociated with the given semantic label.

In some implementations one or more of the device-specific signals mayinclude respective unique identifiers for one or more of the pluralityof assistant devices that are locationally proximate to the givenassistant device in the ecosystem. In some versions of thoseimplementations, processing the one or more of the device-specificsignals to generate one or more of the candidate semantic labels for thegiven assistant device may include identifying the one or more of theplurality of assistant devices that are locationally proximate to thegiven assistant device in the ecosystem based on one or more wirelesssignals; obtaining the respective unique identifiers for one or more ofthe plurality of assistant devices that are locationally proximate tothe given assistant device; and generating one or more of the candidatesemantic labels based on the respective unique identifiers for one ormore of the plurality of assistant devices that are locationallyproximate to the given assistant device. In some further versions ofthose implementations, selecting the given semantic label for the givenassistant device may include selecting the given semantic label for thegiven assistant device based on a property of the respective uniqueidentifiers for one or more of the plurality of assistant devices thatare locationally proximate to the given assistant device.

In some implementations, the given assistant device may be identified inresponse to determining that the given assistant device is newly addedto the ecosystem, or in response to determining that the given assistantdevice was moved locations within the ecosystem.

In some versions of those implementations, the given assistant devicemay be identified in response to determining that the given assistantdevice was moved locations within the ecosystem. In some furtherversions of those implementations, assigning the given semantic label tothe given assistant device may include adding the given semantic labelto a list of semantic labels associated with the given assistant device;or supplanting an existing semantic label associated with the givenassistant device with the given semantic label. In some additional oralternative versions of those implementations, determining that thegiven assistant device was moved locations within the ecosystem mayinclude identifying, based on one or more wireless signals, that acurrent subset of the plurality of assistant devices that arelocationally proximate to the given assistant device in the ecosystemdiffer from a stored subset of the plurality of assistant devices thatis stored in association with the given assistant device. In yet furtherversions of those implementations, the method may further includeswitching the given assistant device from an existing group of assistantdevices that include one or more of the plurality of assistant devicesto an additional existing group of assistant devices that include one ormore of the plurality of assistant devices, or creating a new group ofassistant devices that includes at least the given assistant device.

In some versions of those implementations, the given assistant devicemay be identified in response to determining that the given assistantdevice is newly added to the ecosystem. In some further versions ofthose implementations, assigning the given semantic label to the givenassistant device may include adding the given semantic label to a listof semantic labels associated with the given assistant device. In someadditional or alternative versions of those further implementations,determining that the given assistant device is newly added to theecosystem may include identifying, based on one or more wirelesssignals, that the given assistant device has been added to a wirelessnetwork associated with the ecosystem. In yet further versions of thoseimplementations, the method may further include adding the givenassistant device to an existing group of assistant devices that includesone or more of the plurality of assistant devices, or creating a newgroup of assistant devices that includes at least the given assistantdevice.

In some implementations, the given assistant device may be identified ona periodic basis to verify whether the existing semantic label assignedto the given assistant device is correct.

In some implementations, the method may further include subsequent toassigning the given semantic label to the given assistant device in thedevice topology representation of the ecosystem: receiving, via one ormore respective microphones of one of the plurality of assistant devicesin the ecosystem, and from a user associated with the ecosystem, audiodata corresponding to a spoken utterance, the spoken utterance includinga query or command; processing the audio data corresponding to thespoken utterance to determine a semantic property of the query orcommand; determining that the semantic property of the query or commandmatches the given semantic label assigned to the given assistant device;and in response to determining that the semantic property of the queryor command matches the given semantic label assigned to the givenassistant device, causing the given assistant device to satisfy thequery or command.

In some implementations, one or more of the device-specific signals mayinclude at least user preferences of a user associated with theecosystem, and the user preferences may be determined based on userinteractions with the plurality of assistant devices in the ecosystem.In some versions of those implementations, processing the one or more ofthe device-specific signals to generate one or more of the candidatesemantic labels for the given assistant device may include processing,using a semantic classifier, the user preferences to identify at leastone semantic category, of a plurality of disparate semantic categories,that is associated with the user preferences; and generating one or moreof the candidate semantic labels based on the given semantic category.In yet further versions of those implementations, selecting the givensemantic label for the given assistant device may include determiningthat the given semantic label, from among the plurality of candidatesemantic labels, is related to the given assistant device; and selectingthe given semantic label for the given assistant device in response todetermining that the given semantic label is related to the givenassistant device. Determining that the given semantic label may berelated to the given assistant device is based on one or more additionaldevice-specific signals associated with the given assistant device. Insome additional or alternative versions of those yet furtherimplementations processing the user preferences to identify the at leastone semantic category may be in response to receiving user input toassign one or more semantic labels to at least the given assistantdevice.

In some implementations, a method implemented by one or more processorsis provided, and includes identifying, from among a plurality ofassistant devices in an ecosystem, a given assistant device; obtainingone or more device-specific signals that are associated with theassistant device, the one or more device-specific signals beinggenerated or received by the given assistant device; processing one ormore of the device-specific signals to generate one or more candidatesemantic labels for the given assistant device; generating, based on oneor more of the candidate semantic labels, a prompt to solicit aselection of a given semantic label from a user of a client device, theselection being from among one or more of the candidate semantic labels;causing the prompt to be rendered at the client device of the user; andin response to receiving the selection of the given semantic labelresponsive to the prompt, assigning, in a device topology representationof the ecosystem, the given semantic label to the given assistantdevice.

These and other implementations of the technology disclosed herein caninclude one or more of the following features.

In some implementations, the one or more device-specific signals mayinclude two or more of: device activity associated with the givenassistant device, the device activity being associated with the givenassistant device comprises a plurality of queries or commands previouslyreceived at the given assistant device; ambient noise previouslydetected at the given assistant device, the ambient noise beingpreviously detected at the given assistant device when speech receptionwas active; or respective unique identifiers for one or more of theplurality of assistant devices that are locationally proximate to thegiven assistant device in the ecosystem.

In some implementations, a method implemented by one or more processorsis provided, and includes identifying, from among a plurality ofassistant devices in an ecosystem, a given assistant device; obtainingone or more device-specific signals that are associated with the givenassistant device, the one or more device-specific signals beinggenerated or received by the given assistant device; determining, basedon one or more of the device-specific signals, a given semantic labelfor the given assistant device; assigning, in a device topologyrepresentation of the ecosystem, the given semantic label to the givenassistant device; and subsequent to assigning the given semantic labelto the given assistant device in the device topology representation ofthe ecosystem: receiving, via one or more respective microphones of oneof the plurality of assistant devices in the ecosystem, and from a userassociated with the ecosystem, audio data corresponding to a spokenutterance, the spoken utterance including a query or command; processingthe audio data corresponding to the spoken utterance to determine asemantic property of the query or command; determining that the semanticproperty of the query or command matches the given semantic labelassigned to the given assistant device; and in response to determiningthat the semantic property of the query or command matches the givensemantic label assigned to the given assistant device, causing the givenassistant device to satisfy the query or command.

In addition, some implementations include one or more processors (e.g.,central processing unit(s) (CPU(s)), graphics processing unit(s)(GPU(s), and/or tensor processing unit(s) (TPU(s)) of one or morecomputing devices, where the one or more processors are operable toexecute instructions stored in associated memory, and where theinstructions are configured to cause performance of any of theaforementioned methods. Some implementations also include one or morenon-transitory computer readable storage media storing computerinstructions executable by one or more processors to perform any of theaforementioned methods. Some implementations also include a computerprogram product including instructions executable by one or moreprocessors to perform any of the aforementioned methods.

It should be appreciated that all combinations of the foregoing conceptsand additional concepts described in greater detail herein arecontemplated as being part of the subject matter disclosed herein. Forexample, all combinations of claimed subject matter appearing at the endof this disclosure are contemplated as being part of the subject matterdisclosed herein.

What is claimed is:
 1. A method implemented by one or more processors,the method comprising: identifying, from among a plurality of assistantdevices in an ecosystem, a given assistant device; obtaining one or moredevice-specific signals that are associated with the given assistantdevice, the one or more device-specific signals being generated orreceived by the given assistant device, wherein one or more of thedevice-specific signals comprise at least a plurality of queries orcommands previously received at the given assistant device; processingone or more of the device-specific signals to generate one or morecandidate semantic labels for the given assistant device, whereinprocessing one or more of the device-specific signals to generate one ormore of the candidate semantic labels for the given assistant devicecomprises: processing the plurality of queries or commands previouslyreceived at the given assistant device to generate one or more of thecandidate semantic labels; selecting, from among the one or morecandidate semantic labels, a given semantic label for the givenassistant device; and assigning, in a device topology representation ofthe ecosystem, the given semantic label to the given assistant device,wherein assigning the given semantic label to the given assistant devicecomprises automatically assigning the given semantic label to the givenassistant device.
 2. The method of claim 1, wherein processing theplurality of queries or commands previously received at the givenassistant device to generate one or more of the candidate semanticlabels comprises: processing, using a semantic classifier, each of theplurality of queries or commands into one or more of a plurality ofdisparate categories; and generating one or more of the candidatesemantic labels based on the one or more of the plurality disparatecategories in which each of the plurality of queries or commands areclassified.
 3. The method of claim 2, wherein selecting the givensemantic label for the given assistant device comprises: selecting thegiven semantic label for the given assistant device based on a quantityof the plurality of queries or commands classified into a givencategory, of the plurality disparate categories, the given semanticlabel being associated with the given semantic label.
 4. The method ofclaim 1, wherein one or more of the device-specific signals furthercomprise respective unique identifiers for one or more of the pluralityof assistant devices that are locationally proximate to the givenassistant device in the ecosystem.
 5. The method of claim 4, whereinprocessing one or more of the device-specific signals to generate one ormore of the candidate semantic labels for the given assistant devicefurther comprises: identifying the one or more of the plurality ofassistant devices that are locationally proximate to the given assistantdevice in the ecosystem based on one or more wireless signals; obtainingthe respective unique identifiers for the one or more of the pluralityof assistant devices that are locationally proximate to the givenassistant device; and generating one or more of the candidate semanticlabels based on the respective unique identifiers for one or more of theplurality of assistant devices that are locationally proximate to thegiven assistant device.
 6. The method of claim 5, wherein selecting thegiven semantic label for the given assistant device comprises: selectingthe given semantic label for the given assistant device further based ona property of the respective unique identifiers for one or more of theplurality of assistant devices that are locationally proximate to thegiven assistant device.
 7. The method of claim 1, wherein the givenassistant device is identified in response to determining that the givenassistant device is newly added to the ecosystem, or in response todetermining that the given assistant device has moved locations withinthe ecosystem.
 8. The method of claim 7, wherein the given assistantdevice is identified in response to determining that the given assistantdevice has moved locations within the ecosystem.
 9. The method of claim8, wherein assigning the given semantic label to the given assistantdevice comprises: adding the given semantic label to a list of semanticlabels associated with the given assistant device; or supplanting anexisting semantic label associated with the given assistant device withthe given semantic label.
 10. The method of claim 8, wherein determiningthat the given assistant device has moved locations within the ecosystemcomprises: identifying, based on one or more wireless signals, that acurrent subset of the plurality of assistant devices that arelocationally proximate to the given assistant device in the ecosystemdiffers from a stored subset of the plurality of assistant devices thatis stored in association with the given assistant device.
 11. The methodof claim 10, further comprising: switching the given assistant devicefrom an existing group of assistant devices that include one or more ofthe plurality of assistant devices to an additional existing group ofassistant devices that include one or more of the plurality of assistantdevices, or creating a new group of assistant devices that includes atleast the given assistant device.
 12. The method of claim 7, wherein thegiven assistant device is identified in response to determining that thegiven assistant device is newly added to the ecosystem.
 13. The methodof claim 12, wherein assigning the given semantic label to the givenassistant device comprises: adding the given semantic label to a list ofsemantic labels associated with the given assistant device.
 14. Themethod of claim 12, wherein determining that the given assistant deviceis newly added to the ecosystem comprises: identifying, based on one ormore wireless signals, that the given assistant device has been added toa wireless network associated with the ecosystem.
 15. A methodimplemented by one or more processors, the method comprising:identifying, from among a plurality of assistant devices in anecosystem, a given assistant device; obtaining one or moredevice-specific signals that are associated with the given assistantdevice, the one or more device-specific signals being generated orreceived by the given assistant device, wherein one or more of thedevice-specific signals comprise at least a plurality of queries orcommands previously received at the given assistant device; processingone or more of the device-specific signals to generate one or morecandidate semantic labels for the given assistant device, whereinprocessing one or more of the device-specific signals to generate one ormore of the candidate semantic labels for the given assistant devicecomprises: processing the plurality of queries or commands previouslyreceived at the given assistant device to generate one or more of thecandidate semantic labels; generating, based on one or more of thecandidate semantic labels, a prompt to solicit a selection of a givensemantic label from a user of a client device, the selection being fromamong one or more of the candidate semantic labels; causing the promptto be rendered at the client device of the user; and in response toreceiving the selection of the given semantic label responsive to theprompt, assigning, in a device topology representation of the ecosystem,the given semantic label to the given assistant device.
 16. The methodof claim 15, wherein processing the plurality of queries or commandspreviously received at the given assistant device to generate one ormore of the candidate semantic labels comprises: processing, using asemantic classifier, each of the plurality of queries or commands intoone or more of a plurality of disparate categories; and generating oneor more of the candidate semantic labels based on the one or more of theplurality disparate categories in which each of the plurality of queriesor commands are classified.
 17. The method of claim 15, wherein one ormore of the device-specific signals further comprise respective uniqueidentifiers for one or more of the plurality of assistant devices thatare locationally proximate to the given assistant device in theecosystem.
 18. The method of claim 17, wherein one or more of thedevice-specific signals further comprise ambient noise previouslydetected at the given assistant device when speech reception was active.19. The method of claim 15, wherein the given assistant device isidentified in response to determining that the given assistant device isnewly added to the ecosystem, or in response to determining that thegiven assistant device was moved locations within the ecosystem.
 20. Amethod implemented by one or more processors, the method comprising:identifying, from among a plurality of assistant devices in anecosystem, a given assistant device; obtaining one or moredevice-specific signals that are associated with the given assistantdevice, the one or more device-specific signals being generated orreceived by the given assistant device, wherein one or more of thedevice-specific signals comprise at least a plurality of queries orcommands previously received at the given assistant device; determining,based on one or more of the device-specific signals, a given semanticlabel for the given assistant device, wherein determining the givensemantic label for the given assistant device is based on at least theplurality of queries or commands previously received at the givenassistant device; assigning, in a device topology representation of theecosystem, the given semantic label to the given assistant device; andsubsequent to assigning the given semantic label to the given assistantdevice in the device topology representation of the ecosystem:receiving, via one or more respective microphones of one of theplurality of assistant devices in the ecosystem, and from a userassociated with the ecosystem, audio data corresponding to a spokenutterance, the spoken utterance including an additional query orcommand; processing the audio data corresponding to the spoken utteranceto determine a semantic property of the query or command; determiningthat the semantic property of the query or command matches the givensemantic label assigned to the given assistant device; and in responseto determining that the semantic property of the query or commandmatches the given semantic label assigned to the given assistant device,causing the given assistant device to satisfy the query or command.